https://bugs.winehq.org/show_bug.cgi?id=52761
--- Comment #15 from Esme Povirk madewokherd@gmail.com --- OK, more generally, suppose I want to write a Linux script that calls a Windows command-line utility, controlling all std handles. If I understand correctly, the Windows command-line utility's output will go to the std handles, but any CUI child processes will create a console window instead of using my captured std handles. If I want to capture the std streams of child processes as well (as would happen on Windows if I started the executable from cmd.exe with capture, or from WSL), what is the correct way to invoke Wine to accomplish this?