Keep It Simple, Stupid | |
PerlMonks |
Re: How to capture system return code when command launched in the background?by ikegami (Patriarch) |
on May 02, 2010 at 16:38 UTC ( [id://838001]=note: print w/replies, xml ) | Need Help?? |
You're not the one launching it in the background (the shell is), so you can't find out. If you have launched it in the background yourself, wait and waitpid would set $? as system does.
In Section
Seekers of Perl Wisdom
|
|