Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Proc::Simple store return from background process

by perldarren (Novice)
on Oct 12, 2012 at 10:34 UTC ( #998655=note: print w/ replies, xml ) Need Help??


in reply to Re: Proc::Simple store return from background process
in thread Proc::Simple store return from background process

Ok, I see.

To get around this I made my routine physically exit with the return code I originally wanted to return.

I can then read this as Proc::Simple intended using something like:

my $exit = $child_procs{myhost}{proc}->exit_status(); my $exit_code = $exit >> 8;
Thank you very much for your help.

Regards, Darren


Comment on Re^2: Proc::Simple store return from background process
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2014-09-02 11:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (21 votes), past polls