[issue24862] subprocess.Popen behaves incorrect when moved in process tree

Andre Merzky report at bugs.python.org
Sat Aug 15 15:22:01 CEST 2015


Andre Merzky added the comment:

Looking a little further, it seems indeed to be a problem with ignoring SIGCHLD.  The behavior has been introduced with [1] at [2] AFAICS, which is a response to issue15756 [3].  IMHO, that issue should have been resolved with raising an exception instead of assuming that the child exited successfully (neither is true in this case, not the 'exited' nor the 'successfully').

[1] https://hg.python.org/cpython/rev/484c50bf445c/
[2] https://github.com/python/cpython/blob/2.7/Lib/subprocess.py#L1370
[3] http://bugs.python.org/issue15756

----------

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


More information about the Python-bugs-list mailing list