[Wine] Re: Run linux command from wine (fake exe)

qparis wineforum-user at winehq.org
Wed Apr 25 14:12:08 CDT 2012


wine cmd /c /bin/ps aux should work (For exemple)

If you really need a .exe file,

test.c

Code:
#include <stdio.h>

int main()
{
	system("cmd /c /bin/ps aux");
}



Then, build it like this: i586-mingw32msvc-gcc test.c [/code]







More information about the wine-users mailing list