in reply to Re^6: EXEC fails, sometimes
in thread EXEC fails, sometimes

Again,
exec 'c:\perl\bin\perl print_2.pl';
is more security prone and slower than
exec 'c:\perl\bin\perl', 'print_2.pl';
since a shell is involved in the top snippet.

Also, if you're going to put the whole path, you might as well add ".exe" to speed things up slightly.

Replies are listed 'Best First'.
Re^8: EXEC fails, sometimes
by simpsope (Initiate) on Dec 16, 2005 at 19:09 UTC
    Again, thanks.