diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-13 16:09:52 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-13 16:09:52 -0700 |
| commit | 2d94b2198af4fa67d5c3289336b3eb20f8c446ef (patch) | |
| tree | 0a04c0cd0414097d865ed7b7237066b789e3ce04 | |
| parent | e3bba294b4b08887851382573a7f2c73545e85fb (diff) | |
| download | vcpkg-2d94b2198af4fa67d5c3289336b3eb20f8c446ef.tar.gz vcpkg-2d94b2198af4fa67d5c3289336b3eb20f8c446ef.zip | |
Don't print messages to the screen when where.exe fails to find something
| -rw-r--r-- | toolsrc/src/vcpkg_paths.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg_paths.cpp b/toolsrc/src/vcpkg_paths.cpp index fa6fca370..cf8161353 100644 --- a/toolsrc/src/vcpkg_paths.cpp +++ b/toolsrc/src/vcpkg_paths.cpp @@ -55,7 +55,7 @@ namespace vcpkg static std::vector<fs::path> find_from_PATH(const std::wstring& name) { - const std::wstring cmd = Strings::wformat(L"where.exe %s", name); + const std::wstring cmd = Strings::wformat(L"where.exe %s 2>&1", name); auto out = System::cmd_execute_and_capture_output(cmd); if (out.exit_code != 0) { |
