In article <[email protected]>, 
[email protected] says...

[snip]

> Anyway, I am happy with the outcome even though I have
> not found a way to detect when the program is force
> killed.  It is unlikely that would ever occur as long

When your peogram starts, have it create
a small file. As part of your graceful
shutdown, delete the file.

Any subsequent processes can test for 
the existence of the file; if it exists, 
your program did not exit gracefully.

--- news://freenews.netfront.net/ - complaints: [email protected] ---
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to