summaryrefslogtreecommitdiff
path: root/src/execute.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/execute.h')
-rw-r--r--src/execute.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/execute.h b/src/execute.h
index c750a83..4288bb7 100644
--- a/src/execute.h
+++ b/src/execute.h
@@ -5,7 +5,14 @@
#include <string>
#include <vector>
+#include <map>
-int execute(const std::string& command,
- const std::vector<std::string>& args,
- bool verbose = true);
+namespace ctor {
+struct settings;
+}//ctor::
+
+int execute(const ctor::settings& settings,
+ const std::string& command,
+ const std::vector<std::string>& args = {},
+ const std::map<std::string, std::string>& env = {},
+ bool terminate = false);