[issue12786] subprocess wait() hangs when stdin is closed

Charles-François Natali report at bugs.python.org
Sat Aug 20 00:34:57 CEST 2011


Charles-François Natali <neologix at free.fr> added the comment:

Here's a patch + test for 2.7.

> Really? This is on gentoo, not debian, admittedly:

That's because the change of close_fds to True by default and the CLOEXEC flag were added in 3.2.
Since 3.1 is in security-fix mode only, this patch is only relevant to 2.7.

----------
keywords: +needs review, patch
nosy: +haypo
stage:  -> patch review
versions:  -Python 2.6
Added file: http://bugs.python.org/file22951/subprocess_cloexec.diff

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


More information about the Python-bugs-list mailing list