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 Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <80575AFA5F0DD31197CE00805F650D767B20F1@wilber.adroit.com> From: "Robinow, David" To: "'Jorge Goncalvez'" , cygwin AT cygwin DOT com Subject: RE: Making perl script running under bash cygwin Date: Thu, 6 Dec 2001 16:32:34 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" system returns 0. 'system(...) or die' should always die. Does it run the command first? Does this have anything to do with cygwin? i.e., does it perform differently on other systems? -----Original Message----- From: Jorge Goncalvez [mailto:goncal11 AT col DOT bsf DOT alcatel DOT fr] Sent: Thursday, December 06, 2001 10:57 AM To: cygwin AT cygwin DOT com Subject: RE:Making perl script running under bash cygwin Hi, I have this : system("perl -i.orig -pe 's!/home/ftp!/!g' c:/cygwin/etc/passwd") or die; And it dies always althought it works if I run it by Hand in the cygwin bash. Why? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/