[Python-Dev] Draft PEP and reference implementation of a Python launcher for Windows
Mark Hammond
mhammond at skippinet.com.au
Sun Mar 20 22:22:29 CET 2011
On 20/03/2011 11:56 PM, Dj Gilcrease wrote:
...
> Before Mark wrote up this pep I had started experimenting with how to
> make the launcher and I was able to get it to launch python while
> exiting py.exe and as far as I could tell it behaved just as if I had
> launched the app directly by double clicking it.
In addition to Martin's point, this approach would mean the exit code of
the child process probably isn't available to whoever started the
launcher. For example, a batch file that tried to use something like
"if errorlevel ..." to check the result of the Python process would
probably not work as expected.
Cheers,
Mark
More information about the Python-Dev
mailing list