This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.5.5 and perl 5.8.2-5: bug with perl's system() cmd


Hello Reed,

RW> Versions: crgwin dll 1.5.5 and perl 5.8.2-5

RW> When executing system() commands in perl, the system fails to handle 
RW> escaped quotes properly.  For example, the following is not parsed 
RW> properly:

RW>      system("rsync ... --rsh=\"ssh -l blah\" ... ")

RW> ... Reed


Does it work when setting:
$var = "rsync ... --rsh=\"ssh -l blah\" ...";
system($var); # or system("$var")

?

-- 
Mit freundlichen Grüssen
Gerrit P. Haase
mailto:gp@familiehaase.de


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]