https://bugs.winehq.org/show_bug.cgi?id=36216
--- Comment #7 from Vincent Povirk madewokherd@gmail.com --- I think what's breaking this is the delay in starting Agent.exe (which is a console executable) when we also start wineconsole.exe. Using DETACHED_PROCESS doesn't break it like CREATE_NEW_CONSOLE does, so I don't think it matters what happens to the stdio handles.