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

Jacek Caban jacek at codeweavers.com
Fri Apr 1 08:45:09 CDT 2022


On 4/1/22 15:26, Eric Pouech wrote:
> b) actually I wonder if the console attachment is needed at all (in 
> most of the cases, the std handles would suffice) (console tests apart 
> of course)


On Windows, GUI applications never inherit console (we're not compatible 
with that...), so if you run the test built as GUI application without 
AttachConsole() directly from console, with no redirection, it will not 
print anything.


Jacek




More information about the wine-devel mailing list