[Bug 48170] start.exe: /min no longer works

WineHQ Bugzilla wine-bugs at winehq.org
Mon Nov 25 01:00:41 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=48170

--- Comment #1 from Damjan Jovanovic <damjan.jov at gmail.com> ---
That's unusual, as we check for "/min":

                else if (is_option(argv[i], minW)) {
                        sei.nShow = SW_SHOWMINIMIZED;
                }

and set SW_SHOWMINIMIZED into sei.nShow

There are then 2 paths to launch the executable, the ShellExecuteExW() path
which takes the sei, and the CreateProcessW() path, which does convert
sei.nShow into startup_info.wShowWindow:

                    startup_info.wShowWindow = sei.nShow;

Maybe we also need to set STARTF_USESHOWWINDOW into startup_info.dwFlags?

-- 
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