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 Date: Sat, 22 Nov 2003 15:06:38 +0100 From: "Gerrit P. Haase" Reply-To: "Gerrit P. Haase" Organization: Esse keine toten Tiere X-Priority: 3 (Normal) Message-ID: <219060202.20031122150638@familiehaase.de> To: Reed White 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 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 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/