[PATCH v4] programs/winetest: don't create console when non connected to a console

Eric Pouech eric.pouech at orange.fr
Sat Apr 2 05:20:24 CDT 2022


> One other solution that we may consider is to build tests as GUI 
> applications and add AttachConsole(ATTACH_PARENT_PROCESS) to main() in 
> test.h. That should preserve desired behaviour. We'd probably need an 
> opt-out mechanism for console tests, but it should be fine otherwise, 
> unless I'm missing something.
>
>
looking at https://bugs.winehq.org/show_bug.cgi?id=52743, I don't think 
we can force every app out there to move to GUI subsystem

maybe the proposed patch (in 
https://bugs.winehq.org/show_bug.cgi?id=52761) would help

A+




More information about the wine-devel mailing list