The stupid question is the question not asked | |
PerlMonks |
Re: Executing windows batch files via Systemby c4onastick (Friar) |
on Apr 25, 2007 at 22:48 UTC ( [id://612114]=note: print w/replies, xml ) | Need Help?? |
From perldoc on system: "if LIST is an array with more than one value, starts the program given by the first element of the list with arguments given by the rest of the list." I've never used system in this syntax (using the return value) but it looks like its just running the program "1" and passing everything else as an argument. Try this:
In Section
Seekers of Perl Wisdom
|
|