mirror of
https://github.com/reactos/wine.git
synced 2025-02-21 13:23:25 +00:00
shell32: Use CREATE_NEW_CONSOLE when SEE_MASK_NOCONSOLE is omitted.
This commit is contained in:
parent
33a2242133
commit
2005be6dc9
@ -338,7 +338,7 @@ static UINT_PTR SHELL_ExecuteW(const WCHAR *lpCmd, WCHAR *env, BOOL shWait,
|
||||
startup.dwFlags = STARTF_USESHOWWINDOW;
|
||||
startup.wShowWindow = psei->nShow;
|
||||
dwCreationFlags = CREATE_UNICODE_ENVIRONMENT;
|
||||
if (psei->fMask & SEE_MASK_NO_CONSOLE)
|
||||
if (!(psei->fMask & SEE_MASK_NO_CONSOLE))
|
||||
dwCreationFlags |= CREATE_NEW_CONSOLE;
|
||||
if (CreateProcessW(NULL, (LPWSTR)lpCmd, NULL, NULL, FALSE, dwCreationFlags, env,
|
||||
lpDirectory, &startup, &info))
|
||||
|
Loading…
x
Reference in New Issue
Block a user