Fix bootstrapper getting stuck on "installing dotnet" (#5565)

This commit is contained in:
Andrey Nekrasov
2020-08-04 13:34:09 +03:00
committed by GitHub
parent 371523d756
commit 7581802498
2 changed files with 52 additions and 21 deletions

View File

@@ -99,7 +99,7 @@ std::wstring get_resource_string(UINT resource_id, HINSTANCE instance, const wch
// is added to the .cpp file.
#define GET_RESOURCE_STRING(resource_id) get_resource_string(resource_id, reinterpret_cast<HINSTANCE>(&__ImageBase), L#resource_id)
std::optional<std::string> exec_and_read_output(const std::wstring_view command, const DWORD timeout = INFINITE);
std::optional<std::string> exec_and_read_output(const std::wstring_view command, DWORD timeout_ms = 30000);
// Helper class for various COM-related APIs, e.g working with security descriptors
template<typename T>