A return value of 0 indicates success.system("program -a arg1 -b arg2"); $exit_val = $? >> 8; # or divide by 256 if you like
Have you tried leaving off the -f filename argument as another way to see if the program has successfully been executed by system?
In reply to Re: system call not working
by virtualsue
in thread system call not working
by Becky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |