[issue16327] subprocess.Popen leaks file descriptors on os.fork() failure

Mark Gius report at bugs.python.org
Sun Oct 28 23:50:49 CET 2012


Mark Gius added the comment:

Doesn't exhibit when execve fails, because by the time execve has been reached we've closed the pipes that we're supposed to close on the parent process, and the pipes that are meant to remain open on the parent process get caught by existing cleanup code.  It's unfortunately got to fail somewhere in the vicinity of the fork to fake it using the actual _execute_child.

----------

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


More information about the Python-bugs-list mailing list