Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Capture Exit Code Using Pipe & Tee

by Anonymous Monk
on Jul 08, 2010 at 20:46 UTC ( [id://848759]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Capture Exit Code Using Pipe & Tee
in thread Capture Exit Code Using Pipe & Tee

the code wasn't actually returning the error code for the make file as far as i could tell. I used it to run any program, and had to add this at the end:
exit $exit;

Replies are listed 'Best First'.
Re^4: Capture Exit Code Using Pipe & Tee
by ikegami (Patriarch) on Jul 08, 2010 at 22:11 UTC

    the code wasn't actually returning the error code for the make file as far as i could tell.

    Correct, because that wasn't the question. The question was about obtaining make's exit code.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-23 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found