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 browsing the Monastery: (9)
As of 2015-07-30 23:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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









    Results (273 votes), past polls