Yep, that was it. :)
my @cmd = (qq(
$SCRIPT -log="$logfile" -level="$LOG_LEVEL" -file="$job"
));
I had some problems with the quoted variables, so I enclosed them in a qq(). I may potentially have strange filenames (spaces, etc.), so I should be doing some error checking on the filenames instead of quoting.
Thanks for the help Paul.
In reply to Re^2: Calling exec on exec
by shamu
in thread Calling exec on exec
by shamu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |