> If you mean detecting abnormal shutdown after the fact, as opposed to > catching it while happening, you could create an empty temp file when > the program starts and delete it upon normal termination.
I have a server application, and I want to take some actions *before* the shutdown. I assumed to have some kind of event or Exception being raised when Interpreter is closed abnormally. I will take a look at the links. Thanks a lot. -- http://mail.python.org/mailman/listinfo/python-list