[Twisted-Python] handling CTRL-C

Fabrizio Mancini mr.file at gmail.com
Thu Apr 30 08:44:08 EDT 2009

i know twisted already manage CTRL-C keystroke, but i'd like to add some
other action when CTRL-C is pressed.
I've implemented a perspective broker server, which have a DeferredQueue and
a lot of elements in it.
I'd like to write to a file all those elements before the program shuts
Is there a way to handle this kind of situation?
Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20090430/d4ffb865/attachment.htm 

More information about the Twisted-Python mailing list