delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/22/08:52: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
Date: Sat, 22 Nov 2003 15:06:38 +0100
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Reply-To: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <219060202.20031122150638@familiehaase.de>
To: Reed White <alta AT alta-research DOT com>
CC: cygwin AT cygwin DOT 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 DOT 14254 DOT alta AT alta-research DOT com>
MIME-Version: 1.0

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 AT familiehaase DOT 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/

- Raw text -


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