How to tell if a forked process is done?

Nick Welch mack at incise.org
Tue Sep 23 19:57:03 EDT 2003


You can just do os.system("some command"), it will block until the shell
command is done, and return the exit code.  If you need more control,
perhaps look into the popen2 module and the Popen3/4 classes inside it.

-- 
Nick Welch aka mackstann | mack @ incise.org | http://incise.org
Help stamp out and abolish redundancy.





More information about the Python-list mailing list