Eirik,

>   On Windows, that still leaves a quoting problem, I believe.
> IPC::System::Simple certainly does not seem to handle it: Unless I misread
> it entirely, it ends up sending "$^C -e $cmd" as the command line to
> Win32::Process::Create.
>
>   Let's see ...
>
> C:\Windows\system32>perl -MIPC::System::Simple=capturex -e "print
> capturex($^X, '-le', qq{print(qq(--ARG\@{[++\$i]}-->\$_))for\@ARGV;
> die(q/Oops - that was odd/)})"
> --ARG1-->die(q/Oops
> --ARG2-->-
> --ARG3-->that
> --ARG4-->was
> --ARG5-->odd/)
>
> C:\Windows\system32>
>
>   Oh yes.  It's not doing any quoting.

Well, that's ... disappointing. :-/


            -- Buddy

Reply via email to