From a8db3fa4d52e667525cb200c0052e51d9e5b6e41 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 10 Mar 2018 16:34:14 +0800 Subject: testrunner - Capture stdout on windows --- tools/testrunner/main.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'tools/testrunner/main.cpp') diff --git a/tools/testrunner/main.cpp b/tools/testrunner/main.cpp index 1185c2c3..2aa7e696 100644 --- a/tools/testrunner/main.cpp +++ b/tools/testrunner/main.cpp @@ -489,8 +489,16 @@ bool run_executable(const ::helpers::path& exe_name, const ::std::vector(cmdline_str.size()), &tmp, NULL); + //WriteFile(si.hStdOutput, "\n", 1, &tmp, NULL); + } PROCESS_INFORMATION pi = { 0 }; CreateProcessA(exe_name.str().c_str(), (LPSTR)cmdline_str.c_str(), NULL, NULL, TRUE, 0, NULL, NULL, &si, &pi); CloseHandle(si.hStdOutput); -- cgit v1.2.3