This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
system() problem
- To: gnu-win32 at cygnus dot com
- Subject: system() problem
- From: Dezso_Kovacs%OPELHUNGARY_SZG at opel dot hu
- Date: Mon, 12 Jan 1998 12:45:24 +0100
Hello!
I have installed the GNU-win32 b18 on NT 3.51 and compiled this code with
gcc:
#include <stdlib.h>
int main (void)
{
int i;
i = system ("dir");
return i;
}
When I run the program it prints "failure!!!!!" and returns -1.
The system() did not work with any other arguments I tried except NULL when
it returned 1 (and
there was no failure message then).
Is it a bug or did I do something wrong?
Thank you,
Dezso Kovacs
d.kovacs@opel.hu
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".