k3xji wrote:
I think what I am looking for is SetConsoleCtrlHandler(..) which
receives signals for CTRL+C and system shutdown. I don't want to take
the power outage into account because as far as I can see there is no
portable/simple/reliable way to accomplish that. So, thanks for the
tip again.
En Tue, 21 Oct 2008 05:07:34 -0200, k3xji <[EMAIL PROTECTED]> escribió:
I think what I am looking for is SetConsoleCtrlHandler(..) which
receives signals for CTRL+C and system shutdown. I don't want to take
the power outage into account because as far as I can see there is no
portable/simple/rel
I think what I am looking for is SetConsoleCtrlHandler(..) which
receives signals for CTRL+C and system shutdown. I don't want to take
the power outage into account because as far as I can see there is no
portable/simple/reliable way to accomplish that. So, thanks for the
tip again.
So what is th
> 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
Tim Golden wrote:
k3xji wrote:
Hi all,
Is there anyway to detect abnormal interpreter shutdown like (closing
from task manager, power shutdown of the PC..etc)?
"Task Manager" suggests you're using Windows, on which basis
you've got a few options open to you, but fund
k3xji wrote:
Hi all,
Is there anyway to detect abnormal interpreter shutdown like (closing
from task manager, power shutdown of the PC..etc)?
"Task Manager" suggests you're using Windows, on which basis
you've got a few options open to you, but fundamentally if
someone p
Hi all,
Is there anyway to detect abnormal interpreter shutdown like (closing
from task manager, power shutdown of the PC..etc)?
Regards,
--
http://mail.python.org/mailman/listinfo/python-list