[issue12044] subprocess.Popen.__exit__ doesn't wait for process end

Brian Curtin report at bugs.python.org
Mon May 9 23:02:25 CEST 2011


Brian Curtin <brian at python.org> added the comment:

Actually, I don't think the wait() is a good idea. If you want to block and infinitely wait on the process to close, you should do so explicitly.

It's probably better that we try to use terminate() or kill() and raise if that fails.

----------

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


More information about the Python-bugs-list mailing list