On Thu, Nov 24, 2011 at 2:29 PM, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > Is there a way to catch SIGSTOP?
In the strictest sense, no; SIGSTOP can't be caught. However, some systems have SIGTSTP which is sent when you hit Ctrl-Z, which would be what you're looking for. http://www.gnu.org/s/hello/manual/libc/Job-Control-Signals.html Tested on my Linux box only; this almost certainly won't work on Windows. ChrisA -- http://mail.python.org/mailman/listinfo/python-list