commit | c9557af441a2030767cb19bbaba06f57905f41fb | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <greg@krypto.org> | Wed May 11 22:18:23 2011 -0700 |
committer | Gregory P. Smith <greg@krypto.org> | Wed May 11 22:18:23 2011 -0700 |
tree | 1142600cdb9c213b9171c9bd8ed5e059e3d24da9 | |
parent | 79a11e71c69b3862fc930a47bd628e481685f93b [diff] [blame] |
merge - 7a3f3ad83676 Fixes Issue #12044.
diff --git a/Lib/subprocess.py b/Lib/subprocess.py index 9856e6a..a5381da 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py
@@ -764,6 +764,8 @@ self.stderr.close() if self.stdin: self.stdin.close() + # Wait for the process to terminate, to avoid zombies. + self.wait() def __del__(self, _maxsize=sys.maxsize, _active=_active): if not self._child_created: