[issue4216] subprocess.Popen hangs at communicate() when child exits

Gabriel Genellina report at bugs.python.org
Tue Dec 16 00:25:20 CET 2008


Gabriel Genellina <gagsl-py2 at yahoo.com.ar> added the comment:

I think communicate() works as documented now: reads stdout/stderr 
until EOF, *and* waits for subprocess to terminate.

You're asking for a different method, or perhaps an optional 
parameter "return_when_died" to communicate, so it returns as soon as 
the child process terminates (I don't like the parameter name...)

I think this is more a feature request than a crash, targeted to 
2.7/3.1 - 2.4 only gets security fixes anyway.

----------
nosy: +gagenellina
type: crash -> feature request
versions: +Python 2.7, Python 3.1 -Python 2.4

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


More information about the Python-bugs-list mailing list