Dirk Meyer wrote: > Duncan Webb wrote: >> Dirk Meyer wrote: >>> Duncan Webb wrote: >>>> I have this in __main__, so I would expect the Ctrl-C exit >>>> (basically the stop command) to print something. >>>> |try: >>>> | main() >>>> |except Exception, why: >>>> | traceback.print_exc() >>>> | print why >>>> |print 'done.' >>> You will not see print why because SystemExit will be handled >>> internally and kaa.main.run would just stop without exception. But you >>> should see 'done' >> Exactly what happens > > So it is working :)
I wasn't reading this clearly enough, this is the same code as I have in the recordserver and mistakenly said yes, it is working for the recordserver, this exits cleanly. Duncan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel