Ctrl-C
Christopher A. Craig
list-python at ccraig.org
Tue Feb 25 10:55:31 EST 2003
"Lexy Zhitenev" <zhitenev at cs.vsu.ru> writes:
> I've read somewhere that on unix you can trap signals (SIGTERM for you) with
> the help of 'termios' module. Look for this in FAQ, you'll find it.
I don't think that will work. Python has already trapped SIGTERM to
raise a KeyboardInterupt exception, so I doubt you can trap it again
with termios.
--
Christopher A. Craig <list-python at ccraig.org>
"Death comes to those who wait" Christopher Craig
More information about the Python-list
mailing list