The problem is that the signal handler is not being reset when the eval is terminated by the die in the signal handler, so the solution is to reset the signal handler in the signal handler.
Like most brilliant ideas, it seems obvious afterwards. Thanks a lot!
In reply to Re^4: Setting signal handlers considered unsafe?
by gnosek
in thread Setting signal handlers considered unsafe?
by gnosek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |