SIGN IN SIGN UP

Add a 'timeout' argument to subprocess.Popen.

If the timeout expires before the subprocess exits, the wait method and the
communicate method will raise a subprocess.TimeoutExpired exception.  When used
with communicate, it is possible to catch the exception, kill the process, and
retry the communicate and receive any output written to stdout or stderr.
R
Reid Kleckner committed
31aa7dd14196858ed25716723f42702c96ede3bd
Parent: 4169826