diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-10-19 19:50:23 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-10-19 19:57:58 -0700 |
| commit | 50ae9eec872a0802d2450b4ae2d640475d0d7889 (patch) | |
| tree | 21360604e45e37b652ae6c4005f57f7028d735b0 /toolsrc/include | |
| parent | 8cefb25bcb7edaedd20d8aa170b2e1b945fd1762 (diff) | |
| download | vcpkg-50ae9eec872a0802d2450b4ae2d640475d0d7889.tar.gz vcpkg-50ae9eec872a0802d2450b4ae2d640475d0d7889.zip | |
Do not depend on newlines when getting output from powershell
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/base/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/include/vcpkg/base/system.h b/toolsrc/include/vcpkg/base/system.h index b396ef293..e0d3264e2 100644 --- a/toolsrc/include/vcpkg/base/system.h +++ b/toolsrc/include/vcpkg/base/system.h @@ -22,7 +22,7 @@ namespace vcpkg::System ExitCodeAndOutput cmd_execute_and_capture_output(const CStringView cmd_line); - std::string create_powershell_script_cmd(const fs::path& script_path, const CStringView args = ""); + ExitCodeAndOutput powershell_execute_and_capture_output(const fs::path& script_path, const CStringView args = ""); enum class Color { |
