Home » Unlabelled » Why don't my signal handlers work? | Python
Thursday, 26 April 2012
Why don't my signal handlers work? | Python
The most common problem is that the signal handler is declared with the wrong argument list. It is called as: handler(signum, frame) so it should be declared with two arguments: def handler(signum, frame).
No comments:
Post a Comment