How can I start a Linux app from a Win32 app under Wine?

gerard patel g.patel at wanadoo.fr.invalid
Tue Oct 23 19:09:17 CDT 2001


On Tue, 23 Oct 2001 21:15:06 +0200, Juan Minaya <look at my.sig> wrote:

<snip>
>Does anybody now what is going on?

I think that something like that (to apply to scheduler/process.c)
should fix it :

--- process.c.orig      Wed Oct  3 20:40:10 2001
+++ process.c   Wed Oct 24 00:08:14 2001
@@ -857,6 +857,12 @@
 
     pid = fork_and_exec( unixfilename, cmd_line, env, unixdir );
 
+    if (!hFile)
+    {
+         CloseHandle( process_info );
+         return pid==-1? FALSE:TRUE;
+    }
+
     /* wait for the new process info to be ready */
 
     ret = FALSE;

I'll think a bit more about it before sending it to wine-patches,
though.

Gerard




More information about the wine-users mailing list