[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 06:40:04 CST 2013


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

--- Comment #7 from Micha Nelissen <micha at neli.hopto.org> 2013-11-23 06:40:04 CST ---
Created attachment 46618
  --> http://bugs.winehq.org/attachment.cgi?id=46618
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.

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