Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Handling SIGTERM

by AgentM (Curate)
on Mar 08, 2001 at 09:26 UTC ( [id://62923]=note: print w/replies, xml ) Need Help??


in reply to Handling SIGTERM

About the SIGTERM: Ask the guy which shell he uses- something obscure or outdated? select is a kernel call. If it generates that signal, it's the kernels fault (this is not POSIX behavior to generate SIGTERM) but the shell might throw a wrench in somewhere. This interrupted kernel call should not generate a signal, halting the program should- are you sure you're looking at the right place? Reduce the program to minimum size to reproduce the problem. Consider complaining to Sun or the maker of the shell. For far easier and more dependable way to deal with CTRL-C, use Curses instead of catching the signal. If you set it up correctly, signal use won't even be warranted, which is the better of the cases in Perl. Good luck!
AgentM Systems nor Nasca Enterprises nor Bone::Easy nor Macperl is responsible for the comments made by AgentM. Remember, you can build any logical system with NOR.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://62923]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-18 20:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found