hi. (this is my first post on this list) i have been looking for a FAQ about this, and everywhere else, and i would have thought that would be the first question most people would be asking after trying PyQt: how do you handle KeyboardInterrupt's from a PyQt app?
i immediately found the most annoying thing from a PyQt app (after the blinding flash of enlightenment :-) ) is not being able to kill my application with a ^C in the terminal... SIGINT is masked, nothing happens and the KeyboardInterrupt exception is raised after exiting the application event loop. i tried catching the signal explicitly using Python's signal.signal(SIGINT,...), but i get the same behaviour (the handler only gets called after the execution loop exits) how do you do this? cheers, -- p.s. please Cc replies directly. thanks. _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde
