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 serhiy.storchaka
Recipients paul.moore, serhiy.storchaka, steve.dower, terry.reedy, tim.golden, vstinner, zach.ware
Date 2017-11-18.08:47:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510994833.96.0.213398074469.issue32050@psf.upfronthosting.co.za>
In-reply-to
Content
It seems to me that the best way is to add the following line at the start of the script:

    @path\to\python -x %0 %* & exit /b

Or

    @py -3 -x %0 %* & exit /b
History
Date User Action Args
2017-11-18 08:47:13serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, paul.moore, vstinner, tim.golden, zach.ware, steve.dower
2017-11-18 08:47:13serhiy.storchakasetmessageid: <1510994833.96.0.213398074469.issue32050@psf.upfronthosting.co.za>
2017-11-18 08:47:13serhiy.storchakalinkissue32050 messages
2017-11-18 08:47:13serhiy.storchakacreate