Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Type: text/plain;
  charset="iso-8859-15"
From: Reed White <alta@alta-research.com>
Organization: Alta Research
To: "Gerrit P. Haase" <gp@familiehaase.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.14254.alta@alta-research.com> <219060202.20031122150638@familiehaase.de>
In-Reply-To: <219060202.20031122150638@familiehaase.de>
Cc: cygwin@cygwin.com
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
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@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/

