[issue13422] Subprocess: children hang due to open pipes

2011-11-23 Thread Felix Steffenhagen
Felix Steffenhagen added the comment: The problem I have with the solution that is currently implemented is that subprocess is waiting for the spawned child although the child is not running anymore. In my case this issue occured when invoking samba or the small sample daemon (see attached

[issue13422] Subprocess: children hang due to open pipes

2011-11-17 Thread Felix Steffenhagen
Felix Steffenhagen added the comment: The behavior that the daemon is not closing stderr is intentional to reproduce the issue. This problem occured to me when I was invoking the samba init script on a Gentoo system. Invoked from a bash, the initscript was terminating fine. But when I invoked

[issue13422] Subprocess: children hang due to open pipes

2011-11-17 Thread Felix Steffenhagen
Changes by Felix Steffenhagen : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue13422> ___ ___ Python-bugs-list mailing list Unsubscri

[issue13422] Subprocess: children hang due to open pipes

2011-11-17 Thread Felix Steffenhagen
New submission from Felix Steffenhagen : subprocess.Popen.communicate() hangs for daemonized subprocesses that leave a pipe open. The python caller, invoking the daemon subprocess, runs as long as the daemon process. This happens on POSIX platforms with python 2.7 as well as 3.2. Please