http://www.perlmonks.org?node_id=998655


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