On Tue, Aug 2, 2011 at 1:56 PM, Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa...@spamschutz.glglgl.de> wrote: > Am 02.08.2011 09:30 schrieb AndDM: > >> The function works for SIGHUP and SIGINT, but it doesn't work for >> SIGTERM. I've tried with simple killall and with -15 option. >> Have you some ideas? > > SIGTERM cannot be caught - it kills the process the hard way. >
You must mean SIGKILL. There's nothing special about SIGTERM, except that it's the default for the kill command. -- regards, kushal -- http://mail.python.org/mailman/listinfo/python-list