Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: How to Trap exit code from system calls

by tcf22 (Priest)
on Jan 21, 2004 at 15:59 UTC ( [id://322916]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Because system() and backticks block SIGINT and SIGQUIT, killing the p
    +rogram they're running doesn't actually interrupt your program.
    
    ...
        $exit_value  = $? >> 8;
        $signal_num  = $? & 127;
        $dumped_core = $? & 128;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-19 07:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found