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 <rep...@bugs.python.org>
<http://bugs.python.org/issue26189>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to