This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Making perl script running under bash cygwin
- 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
- Date: Thu, 6 Dec 2001 16:32:34 -0500
- Subject: RE: Making perl script running under bash cygwin
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@col.bsf.alcatel.fr]
Sent: Thursday, December 06, 2001 10:57 AM
To: cygwin@cygwin.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/