Notifications when process is killed
kushal.kumaran+python at gmail.com
Tue Aug 2 07:15:17 EDT 2011
On Tue, Aug 2, 2011 at 1:56 PM, Thomas Rachel
<nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915 at spamschutz.glglgl.de>
> 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.
More information about the Python-list