From 6cc2e195700e6ce02c04160c0c93af6d325d89d7 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 8 Dec 2024 11:49:43 +0100 Subject: Call execute with full settings. --- src/execute.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/execute.h') diff --git a/src/execute.h b/src/execute.h index 336c3ef..4288bb7 100644 --- a/src/execute.h +++ b/src/execute.h @@ -7,7 +7,12 @@ #include #include -int execute(const std::string& command, +namespace ctor { +struct settings; +}//ctor:: + +int execute(const ctor::settings& settings, + const std::string& command, const std::vector& args = {}, const std::map& env = {}, - bool verbose = true); + bool terminate = false); -- cgit v1.2.3