[Checkins] SVN: zc.buildout/branches/python-3-2/src/zc/buildout/testing.py It's important to call wait on subprocess objects to avoid resource

Jim Fulton jim at zope.com
Fri Mar 18 06:54:00 EDT 2011


Log message for revision 121026:
  It's important to call wait on subprocess objects to avoid resource
  leakage in Python 3.
  

Changed:
  U   zc.buildout/branches/python-3-2/src/zc/buildout/testing.py

-=-
Modified: zc.buildout/branches/python-3-2/src/zc/buildout/testing.py
===================================================================
--- zc.buildout/branches/python-3-2/src/zc/buildout/testing.py	2011-03-18 10:50:09 UTC (rev 121025)
+++ zc.buildout/branches/python-3-2/src/zc/buildout/testing.py	2011-03-18 10:54:00 UTC (rev 121026)
@@ -121,6 +121,7 @@
     result = o.read() + e.read()
     o.close()
     e.close()
+    p.wait()
     return result.decode()
 
 def print_(*args):



More information about the checkins mailing list