aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-03-06 16:16:56 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-03-06 16:18:24 -0800
commit3eb0526468d07824900c462ccfacdeffd7fa1969 (patch)
treed184427313467d92788b99d27d65064e890f197b /toolsrc/include
parent7f3153bd62a24b1235a98d68d9aac1b00ba1228f (diff)
downloadvcpkg-3eb0526468d07824900c462ccfacdeffd7fa1969.tar.gz
vcpkg-3eb0526468d07824900c462ccfacdeffd7fa1969.zip
Properly handle spaces in path when calling powershell script
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg_System.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg_System.h b/toolsrc/include/vcpkg_System.h
index a414ba0d4..14f39ca40 100644
--- a/toolsrc/include/vcpkg_System.h
+++ b/toolsrc/include/vcpkg_System.h
@@ -28,6 +28,10 @@ namespace vcpkg::System
return cmd_execute_and_capture_output(cmd_line.c_str());
}
+ std::wstring create_powershell_script_cmd(const fs::path& script_path);
+
+ std::wstring create_powershell_script_cmd(const fs::path& script_path, const std::wstring& args);
+
enum class color
{
success = 10,