Intercepting a process shutdown command under windows?
peter at engcorp.com
Sun Jun 30 04:33:23 CEST 2002
Samuel Schulenburg wrote:
> Is their a way to keep another process from shutdown your python
> application before you can perform some cleanup activities?
> Sam Schulenburg
This may depend on which platform you're on, and on exactly what
kind of "shutdown" command you're faced with.
There will *always* be something that can terminate your app
without you getting any say. Depending on the precise type
of signal, however, you might be able to intercept it.
More information about the Python-list