https://bugs.winehq.org/show_bug.cgi?id=48170
--- Comment #2 from Damjan Jovanovic damjan.jov@gmail.com --- (In reply to Damjan Jovanovic from comment #1)
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?
That is the case.
Patch sent: https://source.winehq.org/patches/data/174517