[Bug 40482] Support set title in start, needed by latest MSYS2
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Jul 13 10:04:55 CDT 2019
https://bugs.winehq.org/show_bug.cgi?id=40482
--- Comment #7 from Damjan Jovanovic <damjan.jov at gmail.com> ---
Created attachment 64894
--> https://bugs.winehq.org/attachment.cgi?id=64894
start cmd with CreateProcessW() instead of ShellExecuteEx()
The problem is that Wine's start.exe uses ShellExecuteExW() to launch the
program, which doesn't have a way to specify the title, so the passed title is
just ignored.
If I hack it to use CreateProcessW() instead, as per the attached patch, and
run:
wine start "\"hello\"" \\Windows\\system32\\cmd.exe
(note that a leading C: breaks it)
then the wineconsole windows gets a title of "hello".
start.exe clearly needs considerable improvement.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list