[Wine] Re: launch linux script from windows application

cmarin wineforum-user at winehq.org
Thu Jul 31 05:27:57 CDT 2008


Hi,

Is very strange.

I'm using Microsoft C++.net 2003 to compile my app.

Now I have tried this:

I created a new WIN32 console app  with the wizard with this very simple code:

Code:

#include "stdafx.h"
#include <windows.h> 
#include <process.h>

int _tmain(int argc, _TCHAR* argv[])
{
	printf("%s", "\nHola\n");
	execl("/bin/sh", "sh", "ls", NULL); 
	return 0;
}




Neither works.

Thanks for your contributions.







More information about the wine-users mailing list