[Bug 25950] New: SEE_MASK_NO_CONSOLE flag in ShellExecuteEx have opposite effect
http://bugs.winehq.org/show_bug.cgi?id=25950 Summary: SEE_MASK_NO_CONSOLE flag in ShellExecuteEx have opposite effect Product: Wine Version: 1.3.12 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: shell32 AssignedTo: wine-bugs(a)winehq.org ReportedBy: atohom(a)gmail.com Created an attachment (id=33084) --> (http://bugs.winehq.org/attachment.cgi?id=33084) compiled executable Despite of what MSDN is saying SEE_MASK_NO_CONSOLE in not equivalent of CREATE_NEW_CONSOLE from CreateProcess, it its opposite. On Windows this test program runs in single window, but in wine it creates separate console. #include <windows.h> int main(int nargs,char *args[]) { SHELLEXECUTEINFOW si={sizeof(si)}; si.fMask=SEE_MASK_FLAG_NO_UI|SEE_MASK_NOASYNC|SEE_MASK_NOCLOSEPROCESS|SEE_MASK_NO_CONSOLE; si.lpFile=L"cmd.exe"; si.lpParameters=L"/C dir && pause"; si.nShow = SW_SHOWNORMAL; ShellExecuteExW(&si); WaitForSingleObject(si.hProcess, INFINITE); return 0; } -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=25950 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=25950 Daniel Jelinski <djelinski1(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djelinski1(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
https://bugs.winehq.org/show_bug.cgi?id=25950 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |nerv(a)dawncrow.de Ever confirmed|0 |1 --- Comment #1 from André H. <nerv(a)dawncrow.de> --- sorry for the late response, but confirming now. could you please add a testcase in wine for this and fix it in dlls/shell32/shlexec.c -- 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.
https://bugs.winehq.org/show_bug.cgi?id=25950 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian(a)fds-team.de --- Comment #2 from Sebastian Lackner <sebastian(a)fds-team.de> --- Wasn't this already fixed by: http://source.winehq.org/git/wine.git/commit/2005be6dc92c0943ede01525cecad88... ? Unfortunately the fix caused a regression, see: https://bugs.winehq.org/show_bug.cgi?id=36216 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=25950 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |focht(a)gmx.net Resolution|--- |FIXED --- Comment #3 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, --- quote --- Wasn't this already fixed by: http://source.winehq.org/git/wine.git/commit/2005be6dc92c0943ede01525cecad88... ? Unfortunately the fix caused a regression, see: https://bugs.winehq.org/show_bug.cgi?id=36216 --- quote --- indeed this was fixed some time ago. Regards -- 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.
https://bugs.winehq.org/show_bug.cgi?id=25950 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.7.44. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=25950 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |2005be6dc92c0943ede01525cec | |ad88f8e83c9c7 --- Comment #5 from André H. <nerv(a)dawncrow.de> --- Adding Fixed by SHA1: 2005be6dc92c0943ede01525cecad88f8e83c9c7 -- 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.
participants (1)
-
wine-bugs@winehq.org