delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/17/14:22:12

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <000701c020d4$08d3aea0$1e7c010a@IRIS.capitale.qc.ca>
From: "Denys Gariepy" <garden AT capitale DOT qc DOT ca>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: B20 : problem using system("cmd");
Date: Sun, 17 Sep 2000 14:20:55 -0400
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

------=_NextPart_000_0004_01C020B2.7DDB1070
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit


    Bonjour,

    I try to execute the folowing program compiled with B20 and he do not

    work correctly.

    I also add the output of the 'cygcheck'



    Denys Gariépy.
    garden AT capitale DOT qc DOT ca

------=_NextPart_000_0004_01C020B2.7DDB1070
Content-Type: application/octet-stream;
	name="toto.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="toto.c"

#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <sys/time.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/wait.h>
#include <errno.h>

int main(int argc, char *argv)

{
	system("dir >toto.err");
	exit;
}


------=_NextPart_000_0004_01C020B2.7DDB1070
Content-Type: application/octet-stream;
	name="cygcheck.out"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="cygcheck.out"


Cygnus Win95/NT Configuration Diagnostics
Current System Time: Sun Sep 17 14:12:58 2000

WinNT Ver 4.0 build 1381 Service Pack 4

Path:	/cygdrive/c/WINNT/system32
	/cygdrive/c/WINNT
	/cygdrive/c/NETMANAG.32
	/cygdrive/i/ORANT/BIN
	.
	/cygdrive/c/PROGRA~1/ULTRAEDT
	/cygdrive/c/Program Files/Mts
	/cygdrive/i/MSTOOLS/bin
	/usr/bin
	/usr/local/bin
	/cygdrive/c/winnt/twain_32
	/cygdrive/c/winnt/twain_32/look2_09
	.

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

GCC_EXEC_PREFIX = `D:\Cygwin\lib\gcc-lib\'

Use `-r' to scan registry

a:  fd           N/A    N/A                    
c:  hd  FAT     1011Mb  90% CP    UN           
d:  hd  FAT      337Mb  72% CP    UN           4JAN2000
e:  hd  FAT     1019Mb  27% CP    UN           8JAN2000
f:  cd  CDFS     646Mb 100%    CS              FREEBSD_1_1
g:  hd  NTFS    2031Mb  98% CP CS UN PA FC     
i:  hd  NTFS    2032Mb  38% CP CS UN PA FC     

d:\cygwin\bin  /usr/bin  user    binmode
d:\cygwin\lib  /usr/lib  user    binmode
d:\cygwin  /        user    binmode

Found: d:\cygwin\bin\bash.exe
Found: d:\cygwin\bin\cat.exe
Found: d:\cygwin\bin\cpp.exe
Found: d:\cygwin\bin\find.exe
Found: d:\cygwin\bin\gcc.exe
Found: d:\cygwin\bin\gdb.exe
Found: d:\cygwin\bin\ld.exe
Found: d:\cygwin\bin\ls.exe
Found: d:\cygwin\bin\make.exe
Found: d:\cygwin\bin\sh.exe

   83k 2000/06/11 d:\cygwin\bin\cygitcl30.dll
   35k 2000/06/11 d:\cygwin\bin\cygitk30.dll
  402k 2000/06/11 d:\cygwin\bin\cygtcl80.dll
    5k 2000/06/11 d:\cygwin\bin\cygtclpip80.dll
   10k 2000/06/11 d:\cygwin\bin\cygtclreg80.dll
  639k 2000/06/11 d:\cygwin\bin\cygtk80.dll
  586k 2000/08/04 d:\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        dll major: 1001
        dll minor: 4
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        api major: 0
        api minor: 26
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        build date: Thu Aug 3 20:53:46 EDT 2000
        CVS tag: cygwin-1-1-4
        shared id: cygwin1S3

Use -h to see help about each section


------=_NextPart_000_0004_01C020B2.7DDB1070
Content-Type: text/plain; charset=us-ascii

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
------=_NextPart_000_0004_01C020B2.7DDB1070--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019