e7db6dc
https://bitbucket.org/which_linden/eventlet/issue/89/add-a-timeout-argument-to-subprocesspopen
e7db6dc
e7db6dc
diff -r 6e6a02e7ac7c eventlet/green/subprocess.py
e7db6dc
--- a/eventlet/green/subprocess.py	Tue Apr 19 09:51:35 2011 -0700
e7db6dc
+++ b/eventlet/green/subprocess.py	Thu May 26 09:56:14 2011 +1000
e7db6dc
@@ -32,7 +32,7 @@
e7db6dc
                     setattr(self, attr, wrapped_pipe)
e7db6dc
         __init__.__doc__ = subprocess_orig.Popen.__init__.__doc__
e7db6dc
 
e7db6dc
-    def wait(self, check_interval=0.01):
e7db6dc
+    def wait(self, check_interval=0.01, timeout=None):
e7db6dc
         # Instead of a blocking OS call, this version of wait() uses logic
e7db6dc
         # borrowed from the eventlet 0.2 processes.Process.wait() method.
e7db6dc
         try: