summaryrefslogtreecommitdiff
path: root/execute.h
diff options
context:
space:
mode:
Diffstat (limited to 'execute.h')
-rw-r--r--execute.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/execute.h b/execute.h
new file mode 100644
index 0000000..f284230
--- /dev/null
+++ b/execute.h
@@ -0,0 +1,9 @@
+// -*- c++ -*-
+#pragma once
+
+#include <string>
+#include <vector>
+
+int execute(const std::string& command,
+ const std::vector<std::string>& args,
+ bool verbose = true);