Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "Gerrit P. Haase" <gp@familiehaase.de>
Organization: Esse keine toten Tiere
To: cygwin@cygwin.com
Date: Wed, 19 Sep 2001 23:27:12 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: RE: Cygwin Perl system() Invokes exec() Directly?
Reply-to: gp@familiehaase.de
Message-ID: <3BA929D0.15327.2F5FE81C@localhost>
X-mailer: Pegasus Mail for Win32 (v3.12cDE)
X-Hops: 1
X-Sender: 320081107336-0001@t-dialin.net

Lehr, Matt (GEA, 510425) schrieb am 2001-09-19, 17:10:

>Hello again,
>
> That was quick...
>
>>What is your perl summary (perl-V)?
>
> Please see attached...

Yep, that is o.k.

>>What is pwd?
>
> Hey, you've at least got to give me credit for not falling into that
>trap... :-)
>
>  /usr/bin/perl -e '$x=system("wc",".bashrc");$y=system("wc <
>.bashrc");print"$x $y $!\n";'
> produces
>  5	14	93	.bashrc
>  0 -1 No such file or directory

Strange. Me have (as expected from this nice onliner:
$ /usr/bin/perl -e '$x=system("wc",".bashrc");$y=system("wc <.bashrc");print"$x $y $!\n";'
    211     539    6250 .bashrc
    211     539    6250
0 0

What about permissions?

Gerrit


-- 
=^..^=

--
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/

