Process monitoring
John Abel
johnfabel at btinternet.com
Fri May 20 17:24:14 EDT 2005
gsteff wrote:
>Hey, I'm working on a Python program that will launch some other
>non-Python process using os.spawn (in the os.P_NOWAIT mode) and then
>basically wait for it to finish (while doing some other stuff in the
>interim). Normally, the new process will signal that it's done by
>writing to a file, but I'd like to also find out if the new process
>died unexpectedly. Anyone know any preferrable ways to do this?
>
>Greg Steffensen
>
>
>
If you're using 2.4, have a look at the subprocess module.
J
More information about the Python-list
mailing list