[issue4015] [patch] make installed scripts executable on windows
report at bugs.python.org
Wed Apr 1 10:37:20 CEST 2009
anatoly techtonik <techtonik at gmail.com> added the comment:
The point is not in generating .bat files. The point is to make scripts
executable with exactly the same version of Python the script was
installed. It works well on POSIX, but doesn't work on windows at all.
There is no other way to fix this on windows than generating separate
.exe or .bat launcher. The patch for .bat is ready.
Embedding python code inside of .bat is not a good idea, because runner
script may be complicated, and additional code in header adds probems
with patch submissions and debugging. Not all editors know about magic
-x option. KISS, you know. =)
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list