[Wine] Re: launch linux script from windows application

cmarin wineforum-user at winehq.org
Mon Aug 4 11:45:55 CDT 2008


Finally I have solved to the problem doing a compiled intermediate program with Mingw that is in charge to pick up the parameters of the application and to launch the script linux with them.

There is the code: 

int main(int argc, char *argv[])
	if (argc >= 2)
		spawnlp(_P_NOWAIT, "/bin/sh","sh", "strjava", argv[0], argv[1], NULL);
	return 0;

Thank you to all by your contributions. The forum works!

More information about the wine-users mailing list