On Tue, Jan 15, 2013 at 11:32 AM, Buddy Burden <barefootco...@gmail.com> wrote: > 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. :-/
Oh sure, I'd have a conditional based on $^O eq 'MSWin32' and two cases. Gabor