RE: Making perl script running under bash cygwin

2001-12-06 Thread Robinow, David
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:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001

Re: Making perl script running under bash cygwin

2001-12-06 Thread Gerrit P. Haase
Hallo Jorge, 2001-12-06 19:22:29, du schriebst: > 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? Cannot say the exact raeson, but i left out the 'or die' and it