This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brian.curtin
Recipients brian.curtin, gregory.p.smith, neologix, pitrou
Date 2011-05-09.20:41:02
SpamBayes Score 0.19785798
Marked as misclassified No
Message-id <1304973664.85.0.760969463488.issue12044@psf.upfronthosting.co.za>
In-reply-to
Content
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:
History
Date User Action Args
2011-05-09 20:41:04brian.curtinsetrecipients: + brian.curtin, gregory.p.smith, pitrou, neologix
2011-05-09 20:41:04brian.curtinsetmessageid: <1304973664.85.0.760969463488.issue12044@psf.upfronthosting.co.za>
2011-05-09 20:41:02brian.curtinlinkissue12044 messages
2011-05-09 20:41:02brian.curtincreate