develooper Front page | perl.perl5.porters | Postings from November 1999

[ID 19991115.005] Problem with "system LIST" on Win32

From:
Moore, Paul
Date:
November 15, 1999 07:51
Subject:
[ID 19991115.005] Problem with "system LIST" on Win32
Message ID:
714DFA46B9BBD0119CD000805FC1F53BDC390A@UKRUX002.rundc.uk.origin-it.com
This is a bug report for perl from paul.moore@uk.origin-it.com,
generated with the help of perlbug 1.26 running under perl 5.00503.


-----------------------------------------------------------------
[Please enter your report here]

There seems to be a problem with the "system LIST" command on Win32.

The following 1-line test program

    system "$^X -e \"print 1\"";

correctly prints a "1".

The (supposedly equivalent)

    system $^X, "-e", "print 1";

prints nothing.

[Please do not change anything below this line]
-----------------------------------------------------------------

---
Site configuration information for perl 5.00503:

Summary of my perl5 (5.0 patchlevel 5 subversion 03) configuration:
  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86
    uname=''
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cl.exe', optimize='-O2 -MD -DNDEBUG', gccversion=
    cppflags='-DWIN32'
    ccflags ='-O2 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT
-DHAVE_DES_FCRYPT '
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='link', ldflags ='-nologo -nodefaultlib -release -machine:x86'
    libpth=D:\VisualStudio\VC98\lib
    libs=E:\CDs\General\Libraries\Lib\MD\libdes.lib 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 PerlCRT.lib
    libc=PerlCRT.lib, so=dll, useshrplib=yes, libperl=perl.lib
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release
-machine:x86'

Locally applied patches:
    

---
@INC for perl 5.00503:
    C:\Applications\Perl\lib/MSWin32-x86
    C:\Applications\Perl\lib
    C:\Applications\Perl\site\lib/MSWin32-x86
    C:\Applications\Perl\site\lib
    .

---
Environment for perl 5.00503:
    HOME (unset)
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=C:\Oracle\Ora81\bin;C:\Program
Files\Oracle\jre\1.1.7\bin;C:\WINNT\system32;C:\WINNT;C:\UTILS;C:\Applicatio
ns\Perl\Bin;C:\Applications\Perl\Bin\MSWin32-x86;C:\VisualStudio\Common\Tool
s\WinNT;C:\VisualStudio\Common\MSDev98\Bin;C:\VisualStudio\Common\Tools;C:\V
isualStudio\VC98\bin;C:\Program
Files\Mts;C:\MSSQL7\BINN;C:\orant\bin;C:\DMINT40\Win32\Bin;C:\Program
Files\CWNT;C:\NTRESKIT;
    PERL_BADLANG (unset)
    SHELL (unset)



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About