Re: Writing to log file when script is killed

2005-05-01 Thread Michael Hoffman
[EMAIL PROTECTED] wrote: > Ok, I was sloppy - I meant the regular kill, not the -9 version... You're still being sloppy. ;) The "-9 version" is called SIGKILL, hence the confusion (actually I doubt anyone is confused). What you mean is SIGTERM. Call it that and you will be safe even from the mo

Re: Writing to log file when script is killed

2005-05-01 Thread [EMAIL PROTECTED]
Ok, I was sloppy - I meant the regular kill, not the -9 version... -- http://mail.python.org/mailman/listinfo/python-list

Re: Writing to log file when script is killed

2005-05-01 Thread Miki Tebeka
Hello Heiko, > Am Samstag, 30. April 2005 14:26 schrieb [EMAIL PROTECTED]: > > If you run on unix you can use the signal module to intercept a kill - > > see http://docs.python.org/lib/node368.html for a quick example > > You cannot intercept a kill (that's the whole meaning of SIGKILL, rather th

Re: Writing to log file when script is killed

2005-04-30 Thread Heiko Wundram
Am Samstag, 30. April 2005 14:26 schrieb [EMAIL PROTECTED]: > If you run on unix you can use the signal module to intercept a kill - > see http://docs.python.org/lib/node368.html for a quick example You cannot intercept a kill (that's the whole meaning of SIGKILL, rather than SIGTERM)... Read up

Re: Writing to log file when script is killed

2005-04-30 Thread [EMAIL PROTECTED]
If you run on unix you can use the signal module to intercept a kill - see http://docs.python.org/lib/node368.html for a quick example -- http://mail.python.org/mailman/listinfo/python-list