Launch a native application from wine app (system call)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
aleroot
Level 1
Level 1
Posts: 6
Joined: Thu Jan 13, 2011 6:53 am

Launch a native application from wine app (system call)

Post by aleroot »

I've developed a Windows Application that can run on Linux under wine, this application can run other program by a system call, can i call a Linux native application from a system call inside the windows wine app ?

How can i do it ?


Thanks
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Launch a native application from wine app (system call)

Post by vitamin »

aleroot wrote:I've developed a Windows Application that can run on Linux under wine, this application can run other program by a system call, can i call a Linux native application from a system call inside the windows wine app ?
You can, but you have to take care of proper synchronization between Wine and Linux.
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: Launch a native application from wine app (system call)

Post by DanKegel »

aleroot wrote: How can i do it ?
Have you tried
CreateProcess(... "z:\path\to\native\app"...);
? That assumes the Z: mapping for / is present.
Locked