[Bug 14541] New: WinExec() fails when starts Unix binaries

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 17 15:49:59 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=14541

           Summary: WinExec() fails when starts Unix binaries
           Product: Wine
           Version: 1.1.0
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: kernel32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: nick at pu.if.ua


Created an attachment (id=14880)
 --> (http://bugs.winehq.org/attachment.cgi?id=14880)
Patch for kernel32

After upgrade to Wine 1.1.0 from 0.9.56 I found out that my WinEdt can't launch
Unix binaries (xdvi, xterm etc) anymore. A dialog box saying "Cannot execute
command ..." appears, but binaries are started anyway. AFAICS it is caused by a
patch by Dmitry Timoshkov that introduces "winoldap.mod". Now WinExec creates a
process and then executes wait_input_idle() that fails for Unix processes that
have hProcess == 0. I attach a quick fix that solves the problem for me, but I
am not sure that my patch is quite correct and complete. Now we can only check
that a Unix process is started successfully, but we don't know what is going on
later. Maybe somebody is able to propose a better solution?


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list