Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: How to Trap exit code from system calls

by tcf22 (Priest)
on Jan 21, 2004 at 15:59 UTC ( #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? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2021-11-30 14:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?