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 on UNIX signal handling. But, for the rest: you could intercept SIGTERM, log a message, and raise a SystemExit exception. That should do the trick. -- --- Heiko. see you at: http://www.stud.mh-hannover.de/~hwundram/wordpress/
pgpcjkH9bj8ZO.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list