Handling kill signals

Erno Kuusela erno-news at erno.iki.fi
Tue Jun 10 20:26:40 EDT 2003


In article <mailman.1055278547.15020.python-list at python.org>, Gary
Robinson <grobinson at transpose.com> writes:

| For a daemon I'm writing, it would be very good if I could handle a kill
| signal sent out by the operating system during shutdown.

you should catch the TERM signal, not KILL.

  -- erno




More information about the Python-list mailing list