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

Antoine Pitrou report at bugs.python.org
Wed Aug 24 22:19:54 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

You might want to add a comment in the patch that the cloexec flag is removed from the child's pipes by calling dup2() before exec() :) I was a bit baffled at first when reading the patch.

----------

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


More information about the Python-bugs-list mailing list