Interrupting a continuous script
Julian Gollop
julian.gollop at ntlworld.com
Mon Jun 3 08:20:59 EDT 2002
I have a few programs continually processing text files on a Linux machine.
Occasionally I need to stop them, but I don't want to use a keyboard
interrupt because it may cause the script to stop in the middle of doing
something.
Does anyone know a simple way to allow me to stop the process by pressing a
key on the keyboard - without stopping inside something crucial?
Julian.
More information about the Python-list
mailing list