Skip to content

Commit

Permalink
Ignore StartProcess stdout & stderr handles
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacMarovitz committed Jun 14, 2024
1 parent ff78120 commit e1e6465
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dlls/kernelbase/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ static RTL_USER_PROCESS_PARAMETERS *create_process_params( const WCHAR *filename
if (startup->dwFlags & STARTF_USESTDHANDLES)
{
params->hStdInput = startup->hStdInput;
params->hStdOutput = startup->hStdOutput;
params->hStdError = startup->hStdError;
params->hStdOutput = INVALID_HANDLE_VALUE;
params->hStdError = INVALID_HANDLE_VALUE;
}
else if (flags & (DETACHED_PROCESS | CREATE_NEW_CONSOLE))
{
Expand Down

0 comments on commit e1e6465

Please sign in to comment.