Abnormal Interpreter Shutdown

k3xji sumerc at gmail.com
Tue Oct 21 07:53:26 CEST 2008


> 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.



More information about the Python-list mailing list