[issue31863] Inconsistent returncode/exitcode for terminated child processes on Windows
Akos Kiss
report at bugs.python.org
Thu Oct 26 06:14:01 EDT 2017
Akos Kiss <akosthekiss at gmail.com> added the comment:
`taskkill /F` sets exit code to 1, indeed. (Confirmed by experiment. Cannot find this behaviour documented, though.)
On the other hand, MS Docs state (https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/signal#remarks) that termination by a signal "terminates the calling program with exit code 3". (So, there may be other "valid" exit codes, too.)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31863>
_______________________________________
More information about the Python-bugs-list
mailing list