Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #10718

Re: Notifications when process is killed

References <mailman.1730.1312213173.1164.python-list@python.org> <a4209f40-8bac-48e5-9092-3cf9d68055ef@g2g2000vbl.googlegroups.com> <j18cbk$up0$1@r03.glglgl.eu>
From Kushal Kumaran <kushal.kumaran+python@gmail.com>
Date 2011-08-02 16:45 +0530
Subject Re: Notifications when process is killed
Newsgroups comp.lang.python
Message-ID <mailman.1763.1312283739.1164.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, Aug 2, 2011 at 1:56 PM, Thomas Rachel
<nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Notifications when process is killed Andrea Di Mario <anddimario@gmail.com> - 2011-08-01 17:39 +0200
  Re: Notifications when process is killed AndDM <anddimario@gmail.com> - 2011-08-02 00:30 -0700
    Re: Notifications when process is killed Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2011-08-02 10:26 +0200
      Re: Notifications when process is killed Kushal Kumaran <kushal.kumaran+python@gmail.com> - 2011-08-02 16:45 +0530
      Re: Notifications when process is killed Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2011-08-02 13:40 +0200
    Re: Notifications when process is killed Chris Angelico <rosuav@gmail.com> - 2011-08-02 10:01 +0100
  Re: Notifications when process is killed chrisallick <chrisallick@gmail.com> - 2011-08-03 20:41 -0700

csiph-web