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
Date: Sat, 22 Nov 2003 15:06:38 +0100
From: "Gerrit P. Haase" <gp@familiehaase.de>
Reply-To: "Gerrit P. Haase" <gp@familiehaase.de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <219060202.20031122150638@familiehaase.de>
To: Reed White <alta@alta-research.com>
CC: cygwin@cygwin.com
Subject: Re: 1.5.5 and perl 5.8.2-5: bug with perl's system() cmd
In-Reply-To: <200311211504.14254.alta@alta-research.com>
References: <200311211504.14254.alta@alta-research.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

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/

