you can use the atexit module to add a function to be called on exit as well. CherryPy is likely to be catching the SystemExit exception, so you'd never see it.
the "kill" manpage says that TERM is the default signal. kill -9 (SIGKILL) tells the OS to blast the process right away without any chance to do anything. Kevin On 10/28/05, vinjvinj <[EMAIL PROTECTED]> wrote: > > Ok Thanks. Do you know what python exception is raised when a python > program encounters a TERM signal > > -- Kevin Dangoor Author of the Zesty News RSS newsreader email: [EMAIL PROTECTED] company: http://www.BlazingThings.com blog: http://www.BlueSkyOnMars.com

