in reply to Re: perl windows backtick problem
in thread perl windows backtick problem
If I maually run the command without any args, it runs fine: ... I have to qualify the script with paths containing such special characters.
But you DONT have to split it into two, quote and escape the WHOLE path to the exe, use Re^3: system() implementation on Windows (again)
cmd /x /c doesn't like newlines ...
Read http://perldoc.perl.org/perlop.html#qx%2fSTRING%2f
$ perl -V:sh sh='cmd /x /c';
Read help cmd
Read exec always invokes the shell? win32
Use IPC::System::Simple capture/capturex
|
---|
In Section
Seekers of Perl Wisdom