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:
Regards, Darren
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:
Thank you very much for your help.my $exit = $child_procs{myhost}{proc}->exit_status(); my $exit_code = $exit >> 8;
Regards, Darren
|
---|
In Section
Seekers of Perl Wisdom