You can use PROC.poll() to find out whether the process has exited yet
or not (for instance, in a 'while' loop along with a delay).  I don't know
what facilities exist to forcibly terminate programs on Windows, though.
On Unix, os.kill() can be used to kill a process given its pid.  Perhaps
some of the functions in the 'win32process' module of win32all can help.

Here's an example for Windows written in C:
    http://win32.mvps.org/processes/fkill.html

Jeff

Attachment: pgpZEr2XdFCHl.pgp
Description: PGP signature

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

Reply via email to