Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3DC3FF95C367D411B47E00D0B73E4B38F80848@ap3expr8applge.appl.ge.com> From: "Lehr, Matt (GEA, 510425)" To: "'gp AT familiehaase DOT de'" Cc: cygwin AT cygwin DOT com Subject: RE: Cygwin Perl system() Invokes exec() Directly? Date: Wed, 19 Sep 2001 17:10:52 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C1414F.90B223A0" ------_=_NextPart_000_01C1414F.90B223A0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1414F.90B223A0" ------_=_NextPart_001_01C1414F.90B223A0 Content-Type: text/plain; charset="iso-8859-1" Hello again, That was quick... >What is your perl summary (perl-V)? Please see attached... >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 Thanks again... - Matt ------_=_NextPart_001_01C1414F.90B223A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Cygwin Perl system() Invokes exec() Directly?

Hello again,

        That was = quick...

>What is your perl summary (perl-V)?

        Please see = attached...

>What is pwd?

        Hey, = you've at least got to give me credit for not falling into that trap... = :-)

        =         /usr/bin/perl = -e = '$x=3Dsystem("wc",".bashrc");$y=3Dsystem("wc = < .bashrc");print"$x $y $!\n";'
        produces
        =         5       = 14      93      = .bashrc
        =         0 -1 No such = file or directory

        Thanks = again...

        =         =         =         =         - Matt

  ------_=_NextPart_001_01C1414F.90B223A0-- ------_=_NextPart_000_01C1414F.90B223A0 Content-Type: text/plain; name="CygwinPerl.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="CygwinPerl.txt" Summary of my perl5 (revision 5.0 version 6 subversion 1) = configuration:=0A= Platform:=0A= osname=3Dcygwin, osvers=3D1.3.2(0.3932), archname=3Dcygwin-multi=0A= uname=3D'cygwin_nt-4.0 loreley 1.3.2(0.3932) 2001-05-20 23:28 i686 = unknown '=0A= config_args=3D'-de -Dusemultiplicity'=0A= hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine=0A= usethreads=3Dundef use5005threads=3Dundef useithreads=3Dundef = usemultiplicity=3Ddefine=0A= useperlio=3Dundef d_sfio=3Dundef uselargefiles=3Ddefine = usesocks=3Dundef=0A= use64bitint=3Dundef use64bitall=3Dundef uselongdouble=3Dundef=0A= Compiler:=0A= cc=3D'gcc', ccflags =3D'-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing = -I/usr/local/include',=0A= optimize=3D'-O2',=0A= cppflags=3D'-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing = -I/usr/local/include'=0A= ccversion=3D'', gccversion=3D'2.95.3-5 (cygwin special)', = gccosandvers=3D''=0A= intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8, = byteorder=3D1234=0A= d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, = longdblsize=3D12=0A= ivtype=3D'long', ivsize=3D4, nvtype=3D'double', nvsize=3D8, = Off_t=3D'off_t', lseeksize=3D4=0A= alignbytes=3D8, usemymalloc=3Dy, prototype=3Ddefine=0A= Linker and Libraries:=0A= ld=3D'ld2', ldflags =3D' -s -L/usr/local/lib'=0A= libpth=3D/usr/local/lib /usr/lib /lib=0A= libs=3D-lgdbm -lcrypt=0A= perllibs=3D-lcrypt=0A= libc=3D/usr/lib/libc.a, so=3Ddll, useshrplib=3Dtrue, = libperl=3Dlibperl5_6_1.a=0A= Dynamic Linking:=0A= dlsrc=3Ddl_dlopen.xs, dlext=3Ddll, d_dlsymun=3Dundef, ccdlflags=3D' = -s'=0A= cccdlflags=3D' ', lddlflags=3D' -s -L/usr/local/lib'=0A= =0A= =0A= Characteristics of this binary (from libperl): =0A= Compile-time options: MULTIPLICITY USE_LARGE_FILES = PERL_IMPLICIT_CONTEXT=0A= Built under cygwin=0A= Compiled at Aug 22 2001 01:05:05=0A= @INC:=0A= /usr/lib/perl5/5.6.1/cygwin-multi=0A= /usr/lib/perl5/5.6.1=0A= /usr/lib/perl5/site_perl/5.6.1/cygwin-multi=0A= /usr/lib/perl5/site_perl/5.6.1=0A= /usr/lib/perl5/site_perl=0A= .=0A= ------_=_NextPart_000_01C1414F.90B223A0 Content-Type: text/plain; name="ActiveStatePerl.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="ActiveStatePerl.txt" Summary of my perl5 (revision 5 version 6 subversion 1) configuration: Platform: osname=3DMSWin32, osvers=3D4.0, archname=3DMSWin32-x86-multi-thread uname=3D'' config_args=3D'undef' hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Dundef usethreads=3Dundef use5005threads=3Dundef useithreads=3Ddefine = usemultiplicity=3Ddefine useperlio=3Dundef d_sfio=3Dundef uselargefiles=3Dundef = usesocks=3Dundef use64bitint=3Dundef use64bitall=3Dundef uselongdouble=3Dundef Compiler: cc=3D'cl', ccflags =3D'-nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE = -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT = -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX', optimize=3D'-O1 -MD -DNDEBUG', cppflags=3D'-DWIN32' ccversion=3D'', gccversion=3D'', gccosandvers=3D'' intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8, = byteorder=3D1234 d_longlong=3Dundef, longlongsize=3D8, d_longdbl=3Ddefine, = longdblsize=3D10 ivtype=3D'long', ivsize=3D4, nvtype=3D'double', nvsize=3D8, = Off_t=3D'off_t', lseeksize=3D4 alignbytes=3D8, usemymalloc=3Dn, prototype=3Ddefine Linker and Libraries: ld=3D'link', ldflags =3D'-nologo -nodefaultlib -release = -libpath:"e:\Perl\lib\CORE" -machine:x86' libpth=3D/lib /usr/lib /usr/local/lib "e:\Perl\lib\CORE" libs=3D oldnames.lib kernel32.lib user32.lib gdi32.lib = winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib = oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib = version.lib odbc32.lib odbccp32.lib msvcrt.lib perllibs=3D oldnames.lib kernel32.lib user32.lib gdi32.lib = winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib = oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib = version.lib odbc32.lib odbccp32.lib msvcrt.lib libc=3Dmsvcrt.lib, so=3Ddll, useshrplib=3Dyes, libperl=3Dperl56.lib Dynamic Linking: dlsrc=3Ddl_win32.xs, dlext=3Ddll, d_dlsymun=3Dundef, ccdlflags=3D' = ' cccdlflags=3D' ', lddlflags=3D'-dll -nologo -nodefaultlib -release = -libpath:"e:\Perl\lib\CORE" -machine:x86' Characteristics of this binary (from libperl):=20 Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEXT = PERL_IMPLICIT_SYS Locally applied patches: ActivePerl Build 629 Built under MSWin32 Compiled at Aug 20 2001 12:27:04 @INC: e:/Perl/lib e:/Perl/site/lib . ------_=_NextPart_000_01C1414F.90B223A0 Content-Type: text/plain; charset=us-ascii -- 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/ ------_=_NextPart_000_01C1414F.90B223A0--