Re: launch linux script from windows application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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: 
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!






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux