[Bug 15462] Wine blocking on exit when stdout and stderr are piped

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Nov 23 10:10:24 CST 2013


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

--- Comment #8 from Frédéric Delanoy <frederic.delanoy at gmail.com> 2013-11-23 10:10:24 CST ---
(In reply to comment #7)
> Created attachment 46618 [details]
> Patch that daemonizes wineserver, fixes issue
> 
> I have attached a patch that fixes the issue for me. I'm using wine to run the
> MSVC compiler.
> 
> The patch creates a daemon.err logfile in the wine server dir
> (/tmp/.wine-XXX/YYY/), where the output of wineserver.exe, services.exe, and
> all other background processes go.
> 
> I've removed the inheritance of stdin/stdout/stderr in server/process.c (that
> took some time to find!) because in windows, either you set bInheritHandles to
> true with CreateProcess and you inherit stdin etc too, or you set it false, and
> you get nothing. So this patch should also increase winapi compatibility.

You probably would want to send it to wine-patches, or wine-devel mailing list
if you want some kind of review.

Patches are not picked up from bugzilla

-- 
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