in reply to How to call Linux command sequentially
or like this:/bin/toolsetup.pl -p coi -config d4 -t all -ov /nfs/home/akmvx/test -n + toptest; touch file1
In the first example "touch" will always run after the perl script finishes. In the second example, "touch" will only run if the perl script ends with a "0" exit status (i.e. didn't "die" with a non-zero error condition)./bin/toolsetup.pl -p coi -config d4 -t all -ov /nfs/home/akmvx/test -n + toptest && touch file1
|
|---|