Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: How to get the exit status and the output of the command launched in perl

by almut (Canon)
on May 26, 2009 at 10:47 UTC ( #766184=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How to get the exit status and the output of the command launched in perl
in thread How to get the exit status and the output of the command launched in perl

Is there a convenient way to translate it back?

In short (but not entirely correct), it's 1536 >> 8, i.e. shift right the return value by 8 bits, or divide by 256. For the details, see system.

  • Comment on Re^3: How to get the exit status and the output of the command launched in perl
  • Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2016-07-24 21:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (221 votes). Check out past polls.