Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: getting the bash exit code

by aitap (Deacon)
on Aug 24, 2012 at 18:56 UTC ( #989615=note: print w/ replies, xml ) Need Help??

in reply to getting the bash exit code


This is just the 16-bit status word returned by the traditional Unix "wait()" system call (or else is made up to look like it). Thus, the exit value of the subprocess is really ("$? >> 8")
Sorry if my advice was wrong.

Comment on Re: getting the bash exit code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2015-07-06 21:46 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (83 votes), past polls