in reply to "Invalid argument" error with exec()

So in English what that means is that Perl tried to shell out (as your script requested) but failed. This might have been a problem when your Perl was built, tested and installed .. or if you got your Perl from ActiveState, maybe your cmd.exe is in a non-standard location .. or maybe it's not on the current PATH.

--t. alex
Life is short: get busy!
  • Comment on Re: "Invalid argument" error with exec()