|
I am a newbee in cherrypy programming. I just tried with a sample program of wsgiserver.The program code is as follows:
I got the output |
|
IIRC, the wsgiserver itself is not associated to any signal and therefore doesn't respect the SIGINT interruption. Only the higher level CherryPy engine will provide that. If you can't use it, you probably want to install a handler using the Python signal module. Well, something along those lines will do the job:
|