http://bugs.winehq.org/show_bug.cgi?id=15462
--- Comment #7 from Micha Nelissen micha@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.