From 4f923fbdace27f27421bf18dfc9655b73bd68929 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 13 Jun 2021 19:00:13 +0200 Subject: Move execution code into its own function and use from all tasks. --- execute.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 execute.h (limited to 'execute.h') 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 +#include + +int execute(const std::string& command, + const std::vector& args, + bool verbose = true); -- cgit v1.2.3