From a5585150f0ff8d27ddd22792f521f1374a3eedd8 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 20 Jan 2023 08:37:29 +0100 Subject: Add env to execute function. --- src/util.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 9fa6be2..eeb3206 100644 --- a/src/util.h +++ b/src/util.h @@ -22,3 +22,9 @@ void append(T& a, const T& b) } std::string esc(const std::string& in); + +std::vector get_paths(); + +std::string locate(const std::string& app, + const std::vector& paths, + const std::string& arch = {}); -- cgit v1.2.3