Re: Running perl from a test on Windows
[email protected] (Buddy Burden)
| Newsgroups | perl.qa |
|---|---|
| Message-ID | <CAL0mxoRdfZZNU+FoOOTzQrLGxu8OhzETRyv4Q_G2N=dC71m76w@mail.gmail.com> |
Gabor,
> I am not sure if this helps but in Windows you need to put the
> double-quotes around $cmd
>
> my $output = qx{$^X -e "$cmd"};
Yes, that would work if I were running _only_ on Windows. But I need
it work for everything (and the double quotes on Linux will cause any
variables in my perl code to get intepreted by the shell. :-/
-- Buddy