diff --git a/platform_win32/win32_4ed.cpp b/platform_win32/win32_4ed.cpp index fc17be7b..9cf85225 100644 --- a/platform_win32/win32_4ed.cpp +++ b/platform_win32/win32_4ed.cpp @@ -405,8 +405,9 @@ Sys_CLI_Call_Sig(system_cli_call){ STARTUPINFO startup = {}; startup.cb = sizeof(STARTUPINFO); startup.dwFlags = STARTF_USESHOWWINDOW | STARTF_USESTDHANDLES; - startup.hStdError = out_write; + startup.hStdInput = INVALID_HANDLE_VALUE; startup.hStdOutput = out_write; + startup.hStdError = out_write; startup.wShowWindow = SW_HIDE; PROCESS_INFORMATION info = {};