| delorie.com/archives/browse.cgi | search |
| 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 |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <80575AFA5F0DD31197CE00805F650D767B20F1@wilber.adroit.com> |
| From: | "Robinow, David" <drobinow AT dayton DOT adroit DOT com> |
| To: | "'Jorge Goncalvez'" <goncal11 AT col DOT bsf DOT alcatel DOT fr>, 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) |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |