delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/24/21:53:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: Reed White <alta AT alta-research DOT com>
Organization: Alta Research
To: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Subject: Re: 1.5.5 and perl 5.8.2-5: bug with perl's system()- FALSE ALARM
Date: Mon, 24 Nov 2003 18:53:07 -0800
User-Agent: KMail/1.4.3
References: <200311211504 DOT 14254 DOT alta AT alta-research DOT com> <219060202 DOT 20031122150638 AT familiehaase DOT de>
In-Reply-To: <219060202.20031122150638@familiehaase.de>
Cc: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-Id: <200311241853.07224.alta@alta-research.com>
X-Spam-Score: -2.5 () EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_KMAIL
X-Scanned-By: MIMEDefang 2.29 (www . roaringpenguin . com / mimedefang)

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 AT alta-research DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019