in reply to Running script from script
You can check $? after running system(...). Basically, it should be zero if all was successful and >0 otherwise (also -1 if the command failed to run, check $!).
Wrapping everything in packages is a matter of choice. I don't think it's nessecary to do it in such a small script, other people may disagree with me.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Running script from script
by Ransom (Beadle) on Jul 11, 2012 at 15:10 UTC |