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.
In reply to Re: Running script from script
by aitap
in thread Running script from script
by Ransom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |