However it fails to pass the quoted argument if $cmd looks like this:my $cmd="nmake NODEBUG=1"; open(RS,"$cmd 2>&1 |"); close(RS);
Can someone enlighten me on what I can do to resolve this? Thanks.$cmd=qq|nmake NODEBUG=1 "ADDED_CFLAGS=/DCOST_EN_US /DPAYMENT_CREDIT_CA +RD"|;
-------------------------------
Need a good Perl friendly Host Provider?
http://www.dreamhost.com
In reply to How to open a pipe from CMD if CMD has quotes? by slloyd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |