Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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

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 examining the Monastery: (11)
As of 2016-07-01 15:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (7 votes). Check out past polls.