From 5e0670ed27e66275d7b55ee338b157c379d0b7c8 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Mon, 27 Nov 2017 17:37:50 -0500 Subject: [PATCH] Hopefully better behavior when 4coder is the parent of GNU Make on Windows --- platform_win32/win32_4ed.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = {};