This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author techtonik
Recipients amaury.forgeotdarc, asvetlov, bebac, mhammond, tarek, techtonik, terry.reedy
Date 2009-04-01.08:37:17
SpamBayes Score 8.574252e-12
Marked as misclassified No
Message-id <1238575040.43.0.842248110997.issue4015@psf.upfronthosting.co.za>
In-reply-to
Content
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. =)
History
Date User Action Args
2009-04-01 08:37:20techtoniksetrecipients: + techtonik, mhammond, terry.reedy, amaury.forgeotdarc, tarek, bebac, asvetlov
2009-04-01 08:37:20techtoniksetmessageid: <1238575040.43.0.842248110997.issue4015@psf.upfronthosting.co.za>
2009-04-01 08:37:19techtoniklinkissue4015 messages
2009-04-01 08:37:18techtonikcreate