[issue2320] Race condition in subprocess using stdin

Gregory P. Smith report at bugs.python.org
Thu Jan 6 07:36:26 CET 2011


Gregory P. Smith <greg at krypto.org> added the comment:

This is likely solved in py3k 3.2 with the C _posixsubprocess.c module.  The pipe creation and cloexec flag setting is all done atomically when possible, and at least with the GIL held when not.  close_fds also now defaults to True.

----------

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


More information about the Python-bugs-list mailing list