Starting a Linux application from a Windows application

Helmar Spangenberg hspangenberg at frey.de
Mon Oct 23 07:51:34 CDT 2006


Hello list,
we have a Windows application "App1" which starts another application "App2" 
using CreateProcessA, then doing some different work, and finally waiting for 
"App2" to finish using WaitForSingleObject. It is important for "App1" to 
catch the exit code of "App2" as well as "App2's" messages on stdout. This 
works fine with Windows applications.

Unfortunately, this does not work as soon as "App2" is a Linux application; 
"App1" seems to wait forever.

Looking at the code of process.c and sync.c in kernel32, it seems to me that 
wine forgets everything about the Linux process once it is started.

Is there a patch to solve the problem?

Currently, we are using wine-0.9.20.

Thanks in advance,
Helmar



More information about the wine-devel mailing list