diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-11-26 02:49:23 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-11-26 02:49:23 -0800 |
| commit | 2af7fe8690a9b78f1eab1e532670ed133f82aff9 (patch) | |
| tree | 8e172dce1b907bd28c6a024b75afdbbd5aca7905 /toolsrc/include | |
| parent | 92872439b9e76ec881edae187d5fb137f02ce39b (diff) | |
| download | vcpkg-2af7fe8690a9b78f1eab1e532670ed133f82aff9.tar.gz vcpkg-2af7fe8690a9b78f1eab1e532670ed133f82aff9.zip | |
Add System::powershell_execute()
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/base/system.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg/base/system.h b/toolsrc/include/vcpkg/base/system.h index db537db4b..31034f6b4 100644 --- a/toolsrc/include/vcpkg/base/system.h +++ b/toolsrc/include/vcpkg/base/system.h @@ -44,6 +44,10 @@ namespace vcpkg::System ExitCodeAndOutput cmd_execute_and_capture_output(const CStringView cmd_line); + void powershell_execute(const std::string& title, + const fs::path& script_path, + const std::vector<PowershellParameter>& parameters = {}); + std::string powershell_execute_and_capture_output(const std::string& title, const fs::path& script_path, const std::vector<PowershellParameter>& parameters = {}); |
