subprocess 'wait' method causes .py program to hang.

Earl Eiland eee at
Sat Mar 19 17:36:35 CET 2005

I calling a Windows executable with PROC = subprocess.Popen('...'), and
blocking further python execution until the process terminates with
PROC.wait().  Occasionally, something unusual happens with the
subprocess, and it fails without terminating the process.  When this
happens, my Python program doesn't detect the error condition, and

What can I do about this?

Earl Eiland

More information about the Python-list mailing list