Intercepting a process shutdown command under windows?
Peter Hansen
peter at engcorp.com
Sat Jun 29 22:33:23 EDT 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.
-Peter
More information about the Python-list
mailing list