[PATCH v2 2/3] programs: don't recreate a console when redirecting a program to wow64
Jacek Caban
jacek at codeweavers.com
Tue Feb 15 11:43:23 CST 2022
Hi Eric,
On 2/15/22 17:43, Eric Pouech wrote:
> programs/uninstaller/main.c | 6 ++++--
> programs/winedbg/winedbg.c | 3 ++-
> programs/wusa/main.c | 3 ++-
wusa should probably use GUI subsystem, which would prevent the problem.
I think that uninstaller could do the same.
winedbg is a bit more problematic, since -mconsole seems right here. For
auto mode, we can make sure that we launch the right winedbg in the
first place. For interactive mode, it feels like it would make sense to
create a console if we don't have one available. Maybe even we could
make it a more general default by making initial console handling match
what your patch 3 does? It would look something like the attached patch
(attaching for sake of discussion; not really tested, maybe needs some
better heuristics).
Thanks,
Jacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 405 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220215/cf55dda9/attachment.bin>
More information about the wine-devel
mailing list