[issue26189] Interpreter returns control to cmd.exe early

Eryk Sun report at bugs.python.org
Sun Jan 24 01:43:02 EST 2016


Eryk Sun added the comment:

Try forcing cmd to wait using the "start" command:

    C:\>start /b /w python -c "raise SystemExit(42)"
    C:\>echo %errorlevel%
    42

----------
nosy: +eryksun

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26189>
_______________________________________


More information about the Python-bugs-list mailing list