[issue4216] subprocess.Popen hangs at communicate() when child exits
STINNER Victor
report at bugs.python.org
Fri Oct 31 16:35:30 CET 2008
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
The bug should be fixed in Python 2.5 since it uses:
while read_set or write_set:
try:
rlist, wlist, xlist = select.select(read_set, write_set,
[])
except select.error, e:
if e[0] == errno.EINTR:
continue
else:
raise
EINTR is supported in subprocess for select(), read(), write() and
waitpid()
Can't you migrate to Python 2.5 or 2.6? You can try to copy
subprocess.py from Python 2.5 to Python 2.4.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4216>
_______________________________________
More information about the Python-bugs-list
mailing list