diff options
Diffstat (limited to 'include/Exec.hpp')
-rw-r--r-- | include/Exec.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Exec.hpp b/include/Exec.hpp index 93ce307..538f0dc 100644 --- a/include/Exec.hpp +++ b/include/Exec.hpp @@ -4,6 +4,7 @@ #include "Result.hpp" #include "../include/FileUtil.hpp" #include <string> +#include <vector> namespace sibs { @@ -13,8 +14,7 @@ namespace sibs int exitCode; }; - Result<ExecResult> exec(const _tinydir_char_t *cmd, bool print = false); - Result<ExecResult> exec(const FileString &cmd, bool print = false); + Result<ExecResult> exec(const std::vector<FileString> &args, bool print_instead_of_pipe = false); } #endif //SIBS_EXEC_HPP |