diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-13 16:17:47 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-13 16:17:47 -0700 |
| commit | d02d602090b81e301fcf773d737e0423f5966bf0 (patch) | |
| tree | 3bf9c19862a21b9da09c8a8c2f59668ac48c08e5 /toolsrc/src/vcpkg_System.cpp | |
| parent | 2d94b2198af4fa67d5c3289336b3eb20f8c446ef (diff) | |
| download | vcpkg-d02d602090b81e301fcf773d737e0423f5966bf0.tar.gz vcpkg-d02d602090b81e301fcf773d737e0423f5966bf0.zip | |
System::cmd_execute_and_capture_output() now redirects std::err to std::out
Diffstat (limited to 'toolsrc/src/vcpkg_System.cpp')
| -rw-r--r-- | toolsrc/src/vcpkg_System.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg_System.cpp b/toolsrc/src/vcpkg_System.cpp index 472f8450f..b872fe2fd 100644 --- a/toolsrc/src/vcpkg_System.cpp +++ b/toolsrc/src/vcpkg_System.cpp @@ -103,7 +103,7 @@ namespace vcpkg::System // Flush stdout before launching external process fflush(stdout); - const std::wstring& actual_cmd_line = Strings::wformat(LR"###("%s")###", cmd_line); + const std::wstring& actual_cmd_line = Strings::wformat(LR"###("%s 2>&1")###", cmd_line); std::string output; char buf[1024]; |
