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

Antoine Pitrou report at bugs.python.org
Mon May 9 22:42:16 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

> Seems like it would be enough to add a wait() at the end?

Probably, perhaps with a try/finally?

I'm not entirely sure this is a good idea, by the way. May there be some
drawbacks?

----------

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


More information about the Python-bugs-list mailing list