[issue29335] Python 2.7 subprocess module does not check WIFSTOPPED on SIGCHLD
Zach Riggle
report at bugs.python.org
Sun Jan 22 01:53:39 EST 2017
Zach Riggle added the comment:
To further clarify the report:
When the attached proof-of-concept is executed, a RuntimeException is raised, which has a comment "Should never happen".
The issue isn't due to SIGCHLD, but rather following a waitpid() call. The code attempts to suss the exit code / reason for waitpid() returning, but does not check for WIFSTOPPED in its handler.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29335>
_______________________________________
More information about the Python-bugs-list
mailing list