aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-11-04 16:40:11 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-11-04 16:40:23 -0700
commit61c0a337842b50d4b914893030193f3a1faaedf4 (patch)
treebda4e248bca90f535f54200c5134bbd5aafdd4d3 /toolsrc/include
parent32d588aa6903277a273a4d436c2929a412d11aa3 (diff)
downloadvcpkg-61c0a337842b50d4b914893030193f3a1faaedf4.tar.gz
vcpkg-61c0a337842b50d4b914893030193f3a1faaedf4.zip
Improve error messages around calling powershell scripts
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg/base/system.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/toolsrc/include/vcpkg/base/system.h b/toolsrc/include/vcpkg/base/system.h
index a696bf3ae..9f2d91435 100644
--- a/toolsrc/include/vcpkg/base/system.h
+++ b/toolsrc/include/vcpkg/base/system.h
@@ -22,7 +22,9 @@ namespace vcpkg::System
ExitCodeAndOutput cmd_execute_and_capture_output(const CStringView cmd_line);
- ExitCodeAndOutput powershell_execute_and_capture_output(const fs::path& script_path, const CStringView args = "");
+ std::string powershell_execute_and_capture_output(const std::string& title,
+ const fs::path& script_path,
+ const CStringView args = "");
enum class Color
{