Capturing SIGSTOP
Chris Angelico
rosuav at gmail.com
Wed Nov 23 23:22:23 EST 2011
On Thu, Nov 24, 2011 at 2:29 PM, Steven D'Aprano
<steve+comp.lang.python at 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
More information about the Python-list
mailing list