27-07-2009 o 22:35:01 David <71david at libero.it> wrote: > I am writing a command line application, and I need to perform some > cleaning > on exit even if the process is killed. > How can I do that with python? See: http://docs.python.org/library/signal.html Cheers, *j -- Jan Kaliszewski (zuo) <zuo at chopin.edu.pl>