Perl Monk, Perl Meditation | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I'm probably doing something stupid here, but I can't seem to figure it out. I have this line in a script:
It returns the error: exec failed: Invalid argument I've tried using single quotes, double quotes, putting the "foo.pl" in a scalar and passing that instead, using parens or not, using other commands instead of foo.pl (such as 'dir')... Nothing seems to work. Please make me kick myself. Pre-submission update: I was double-checking some things before hitting 'create', and I found that running the line with warnings on will give a little more information: Can't exec "cmd.exe": Invalid argument at ... So maybe it's not my fault?
--- In reply to "Invalid argument" error with exec() by Sprad
|
|