Brian Curtin <br...@python.org> added the comment: Seems like it would be enough to add a wait() at the end?
diff -r 9e473917cbfb Lib/subprocess.py --- a/Lib/subprocess.py Mon May 09 21:17:02 2011 +0200 +++ b/Lib/subprocess.py Mon May 09 15:30:02 2011 -0500 @@ -796,6 +796,7 @@ self.stderr.close() if self.stdin: self.stdin.close() + self.wait() def __del__(self, _maxsize=sys.maxsize, _active=_active): if not self._child_created: ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12044> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com