kernelbase: Don't pass StdHandles with CREATE_NEW_CONSOLE.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51264 Signed-off-by: Brendan McGrath <brendan@redmandi.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
61024aa12f
commit
7539dd607b
|
@ -198,7 +198,7 @@ static RTL_USER_PROCESS_PARAMETERS *create_process_params( const WCHAR *filename
|
||||||
params->hStdOutput = startup->hStdOutput;
|
params->hStdOutput = startup->hStdOutput;
|
||||||
params->hStdError = startup->hStdError;
|
params->hStdError = startup->hStdError;
|
||||||
}
|
}
|
||||||
else if (flags & DETACHED_PROCESS)
|
else if (flags & (DETACHED_PROCESS | CREATE_NEW_CONSOLE))
|
||||||
{
|
{
|
||||||
params->hStdInput = INVALID_HANDLE_VALUE;
|
params->hStdInput = INVALID_HANDLE_VALUE;
|
||||||
params->hStdOutput = INVALID_HANDLE_VALUE;
|
params->hStdOutput = INVALID_HANDLE_VALUE;
|
||||||
|
|
Loading…
Reference in New Issue