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.