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