Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Type: text/plain; charset="iso-8859-15" From: Reed White Organization: Alta Research To: "Gerrit P. Haase" 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 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 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/