Blocking ctrl-c to os.popen() or os.system()

Erik Max Francis max at alcyone.com
Sun Jan 5 08:11:32 CET 2003


pythonhda wrote:

> How about using a thread?

That wouldn't work, since -- as the original poster pointed out several
times now -- it's a separate program that he's running that's receiving
the SIGINT, not the Python program driving it.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ We'll have to make our own luck from now on.
\__/ Louis Wu
    Bosskey.net: Quake III Arena / http://www.bosskey.net/q3a/
 A personal guide to Quake III Arena.




More information about the Python-list mailing list