[issue20318] subprocess.Popen can hang in threaded applications

Andrew Lutomirski report at bugs.python.org
Mon Jan 20 23:26:31 CET 2014


Andrew Lutomirski added the comment:

FWIW, sticking a mutex in Popen.__init__ (wrapping the whole thing) seems to work around this issue (for programs that aren't using multiprocessing or fork, for example).  This might be a good-enough fix and be safe enough to stick in the standard library.

----------
status: open -> closed

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


More information about the Python-bugs-list mailing list