But it really depends on the command itself and what exit status it returns in various situations.if ($? != 0) { die "Command failed: $!"; } else { print "Command executed successfuly.\n"; }
In reply to Re: How to determine of script executed correctly?
by choroba
in thread How to determine of script executed correctly?
by julio_514
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |