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

STINNER Victor report at bugs.python.org
Fri Oct 31 01:48:51 CET 2008


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

I'm unable to reproduce your problem with Python 2.4.4 nor Python 
2.5.1. I'm using Ubuntu and the program "service" doesn't exist. So I 
used the commands "pwd", "sh -c pwd", "sh -c 'echo $$'". All commands 
terminate correctly.

Your problem is specific to the command "service cpboot start"? You 
can reproduce the problem with another command?

Can you attach the full trace? I mean something like "strace -f -o 
trace python test.py".

----------
nosy: +haypo

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


More information about the Python-bugs-list mailing list