On Sat Dec 3 11:51:28 2022 +0000, Hugh McMaster wrote:
Hi Eric, I'm testing with wineconsole to get a plain windowed console with cmd.exe. I then run `start "abc" cmd.exe` to create a new console to test the title aspect. As you've seen, wineconsole starts with a title of `C:\\windows\\system32\\wineconsole.exe` then updates to `C:\\windows\\system32\\cmd.exe`. I tried your patch with good results. Trace output showed the windowed console started with `C:\\windows\\system32\\cmd.exe`. Unless there's a compelling reason not to make this change, can you please send a patch? thanks Hugh. I-ll post the MR.
My interrogation was whether you've seen some other ways than just 'wine wineconsole xxx" to trigger the bad title -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1492#note_18566