in reply to How to capture system return code when command launched in the background?
Why do you want to run it in the background if you want its exit code, which will only be known after the command is finished (successfully or unsuccessfully)?
If your concern is not to block the prompt in case the command successfully runs, run your perl script in background instead
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to capture system return code when command launched in the background?
by Anonymous Monk on May 03, 2010 at 09:43 UTC | |
by afoken (Chancellor) on May 03, 2010 at 14:53 UTC |