The path string is different, and in fact incorrect, on the machine where it fails. The real solution is to fix the path string so the code is not machine-dependent. Thanks!exec 'c:\perl\bin\perl print_2.pl';
In reply to Re^6: EXEC fails, sometimes
by simpsope
in thread EXEC fails, sometimes
by simpsope
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |