https://bugs.winehq.org/show_bug.cgi?id=52761
--- Comment #19 from Esme Povirk madewokherd@gmail.com --- Setting DETACHED_PROCESS in compile_cs prevents console windows from being created for csc.exe on Windows and Wine, but in Wine we get a console window for mcs.exe, so there's more that needs fixed. It probably requires a change to how we call mcs.exe.
Ideally I'd like to get rid of this "RedirectStandardOutput" thing, is there any way we can call mcs.exe so it'll inherit handles and not create a new console window?