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()- FALSE ALARM


Sorry, but this was a false alarm.
After more experiments, I discovered that the problem was due to a 
missing back-slash before an at-sign.  (My mistake.)

... Reed


On Saturday 22 November 2003 06:06, you wrote:
> 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")
>
> ?

-- 
Reed White  -  ALTA RESEARCH  -  877-360-2582
alta@alta-research.com  -  www.alta-research.com


--
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]