About stdlib.h system()

Kirill K. Smirnov lich at math.spbu.ru
Tue Jun 26 03:17:13 CDT 2007


Hi,

I've tried to reproduce, but failed:

a.c:
#include <stdio.h>
#include <stdlib.h>

int main(void)
{
    system("qqq.exe");
    return 0;
}


$ mingw-gcc -mconsole -mno-cygwin a.c
$ wine a.exe

It works.

$ mingw-gcc a.c
$ wine a.exe

It works too.

Executable qqq.exe exists in ~/.wine/drive_c/windows directory.

--
Kirill



More information about the wine-devel mailing list