aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/vcpkg_System.cpp
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-06-14 22:06:52 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-06-14 22:06:52 -0700
commit687440f9760f3b9492de9a3105cdd6b99f9a3634 (patch)
tree24f5ba42bd1b26e00bb55ebe2258b81ff30949db /toolsrc/src/vcpkg_System.cpp
parent9c4fa9583b3796efe3663f61542075c36f479d82 (diff)
downloadvcpkg-687440f9760f3b9492de9a3105cdd6b99f9a3634.tar.gz
vcpkg-687440f9760f3b9492de9a3105cdd6b99f9a3634.zip
[vcpkg] Add additional debug messages
Diffstat (limited to 'toolsrc/src/vcpkg_System.cpp')
-rw-r--r--toolsrc/src/vcpkg_System.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolsrc/src/vcpkg_System.cpp b/toolsrc/src/vcpkg_System.cpp
index 21329e003..c91c6be78 100644
--- a/toolsrc/src/vcpkg_System.cpp
+++ b/toolsrc/src/vcpkg_System.cpp
@@ -142,6 +142,7 @@ namespace vcpkg::System
const std::wstring& actual_cmd_line = Strings::wformat(LR"###("%s 2>&1")###", cmd_line);
+ Debug::println("_wpopen(%s)", Strings::to_utf8(actual_cmd_line));
std::string output;
char buf[1024];
auto pipe = _wpopen(actual_cmd_line.c_str(), L"r");
@@ -158,6 +159,7 @@ namespace vcpkg::System
return {1, output};
}
auto ec = _pclose(pipe);
+ Debug::println("_wpopen() returned %d", ec);
return {ec, output};
}