[issue1054041] Python doesn't exit with proper resultcode on SIGINT
Gregory P. Smith
report at bugs.python.org
Thu Feb 14 14:31:02 EST 2019
Gregory P. Smith <greg at krypto.org> added the comment:
jwilk: Confirmed. The exit code is not enough, we must trigger the SIG_DFL handler.
to reproduce:
while true; do ./sig.py ; done
with the attached sig.py.
pass a parameter to sig.py to have it exit 130 instead of triggering SIG_DFL...
----------
Added file: https://bugs.python.org/file48138/sig.py
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue1054041>
_______________________________________
More information about the Python-bugs-list
mailing list