mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 11:07:10 +01:00
[vcpkg] Add additional debug messages
This commit is contained in:
parent
9c4fa9583b
commit
687440f976
@ -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};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user