diff options
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/pch.h | 1 | ||||
| -rw-r--r-- | toolsrc/include/vcpkg_System.h | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/toolsrc/include/pch.h b/toolsrc/include/pch.h index 56f24f161..e78f17237 100644 --- a/toolsrc/include/pch.h +++ b/toolsrc/include/pch.h @@ -6,6 +6,7 @@ #include <shellapi.h> #include <Shlobj.h> #include <winhttp.h> +#include <process.h> #include <cassert> #include <stdexcept> diff --git a/toolsrc/include/vcpkg_System.h b/toolsrc/include/vcpkg_System.h index ecb98aba7..71caeed5e 100644 --- a/toolsrc/include/vcpkg_System.h +++ b/toolsrc/include/vcpkg_System.h @@ -17,6 +17,13 @@ namespace vcpkg::System std::string output; }; + int cmd_execute_clean(const wchar_t* cmd_line); + + inline int cmd_execute_clean(const std::wstring& cmd_line) + { + return cmd_execute_clean(cmd_line.c_str()); + } + int cmd_execute(const wchar_t* cmd_line); inline int cmd_execute(const std::wstring& cmd_line) |
