problem using signal module
Ken Guest
kwg at renre-europe.com
Fri Aug 24 05:54:20 EDT 2001
On Fri, 2001-08-24 at 10:32, Ignacio Vazquez-Abrams wrote:
> On 24 Aug 2001, Ken Guest wrote:
>
<snip>
>
> It's really simple: you can't catch SIGKILL. Period. You might want to try
> using SIGTERM instead. SIGTERM is the normal 'kill -15' (-15 is the default),
> and SIGKILL is 'kill -9', which immediately stop execution of a program.
>
thanks, Ignacio - just wanted a way to close down my server cleanly,
so I'll try for trapping SIGTERM instead then.
k.
More information about the Python-list
mailing list