Subprocess does not return for longer-running process

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Wed Sep 22 20:25:53 EDT 2010


In message <pan.2010.09.22.16.38.25.844000 at nowhere.com>, Nobody wrote:

> And I can't think of any reason why you should use os.waitpid() or
> similar; use the .wait() method.

I have used WNOHANG to poll for completion of a subprocess while providing 
progress updates to the user.



More information about the Python-list mailing list