I would use IPC::Cmd, it's much more robust than qx, and tries to be portable.
This will also let you avoid shell interpolation which is a big program with qx/system/exec etc when used in 1 arg form. On Sun, Jun 01, 2008 at 22:29:43 +0300, Shmuel Fomberg wrote: > Hi All. > > I was trying to compile some C code from Perl, using MS-VS-2003. > So I did something like: > $x = `c:\\progr... long path...\\bin\\cl.exe params..`; > it actually complained, (didn't like the spaces) so I did: > $x = `"c:\\progr... long path...\\bin\\cl.exe" params..`; > and it did not complained. actually, it did nothing. silently failed. > > Help? > Shmuel. > _______________________________________________ > Perl mailing list > [email protected] > http://perl.org.il/mailman/listinfo/perl -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 _______________________________________________ Perl mailing list [email protected] http://perl.org.il/mailman/listinfo/perl
