http://bugs.winehq.org/show_bug.cgi?id=15462
--- Comment #8 from Frédéric Delanoy frederic.delanoy@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