kernel32: Don't inherit stdin/stdout handles in wineboot.
This commit is contained in:
parent
5a3132343d
commit
9c00a78da5
|
@ -797,6 +797,11 @@ static HANDLE start_wineboot(void)
|
|||
|
||||
memset( &si, 0, sizeof(si) );
|
||||
si.cb = sizeof(si);
|
||||
si.dwFlags = STARTF_USESTDHANDLES;
|
||||
si.hStdInput = 0;
|
||||
si.hStdOutput = 0;
|
||||
si.hStdError = GetStdHandle( STD_ERROR_HANDLE );
|
||||
|
||||
GetSystemDirectoryW( cmdline, MAX_PATH );
|
||||
lstrcatW( cmdline, command_line );
|
||||
if (CreateProcessW( NULL, cmdline, NULL, NULL, FALSE, DETACHED_PROCESS, NULL, NULL, &si, &pi ))
|
||||
|
|
Loading…
Reference in New Issue