Making perl script running under bash cygwin

Robinow, David
Thu Dec 6 13:33:00 GMT 2001

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 []
Sent: Thursday, December 06, 2001 10:57 AM
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

Unsubscribe info:
Bug reporting:

More information about the Cygwin mailing list