https://bugs.winehq.org/show_bug.cgi?id=52761
--- Comment #21 from Esme Povirk madewokherd@gmail.com --- I sent a few patches that prevent the test from creating console windows on Windows, but not fully on Wine as we still get them for mcs.exe processes.
I also pushed a change to Wine Mono to handle redirection in a more sound way: https://github.com/madewokherd/wine-mono/commit/c0bd3ce453d55a17bb7a69135d9e...
That seems to fix the test failure, but it doesn't prevent the mcs.exe windows from popping up. In theory, CREATE_NO_WINDOW should fix that, but the attached patch doesn't seem to help.