mirror of
https://github.com/arun11299/cpp-subprocess.git
synced 2025-08-04 12:26:19 -04:00
Fix redirection from StdError on Windows
This commit is contained in:
parent
d19cce111c
commit
1032f1d2bc
@ -1537,7 +1537,7 @@ inline void Popen::execute_process() noexcept(false)
|
||||
ZeroMemory(&siStartInfo, sizeof(STARTUPINFOW));
|
||||
siStartInfo.cb = sizeof(STARTUPINFOW);
|
||||
|
||||
siStartInfo.hStdError = this->stream_.g_hChildStd_OUT_Wr;
|
||||
siStartInfo.hStdError = this->stream_.g_hChildStd_ERR_Wr;
|
||||
siStartInfo.hStdOutput = this->stream_.g_hChildStd_OUT_Wr;
|
||||
siStartInfo.hStdInput = this->stream_.g_hChildStd_IN_Rd;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user