Hello Guys,

 

I have an application which launches a sub-process using the sub
process/Popen module, which seems to work great. However on occasion the
launched process will crash, it doesn't appear to full terminate though as
when I run a 'top' command from the Linux system the process is still
displayed in the list, it just appears to be dormant and the TIME+ for the
application stops incrementing.

 

Can I use the poll() method from the sub-process object to test for this? I
would love to test it however the crash is so rare it's very difficult to
simulate, so thought I'd try and see if anyone has any experience of this.

 

Thanks chaps,

 

Rob

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to