Process monitoring

gsteff greg.steffensen at gmail.com
Thu May 19 19:05:44 EDT 2005


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




More information about the Python-list mailing list