Pass stderr pipe to child process when capturing stderr output on win32

This commit is contained in:
baldurk
2017-06-14 10:06:53 +01:00
parent 4c78c76341
commit cb8e28df10
+1
View File
@@ -452,6 +452,7 @@ static PROCESS_INFORMATION RunProcess(const char *app, const char *workingDir, c
si.dwFlags |= STARTF_USESHOWWINDOW // Hide the command prompt window from showing.
| STARTF_USESTDHANDLES;
si.hStdOutput = hChildStdOutput_Wr;
si.hStdError = hChildStdError_Wr;
}
RDCLOG("Running process %s", app);