From 5f3bfe2a09a74bd7a7ffe2e6f690c3587d55098c Mon Sep 17 00:00:00 2001
From: Recolic <git@me.recolic.net>
Date: Fri, 7 Mar 2025 13:49:48 -0800
Subject: [PATCH] .

---
 sys/unix_handy.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/unix_handy.hpp b/sys/unix_handy.hpp
index 23b5199..e5c8532 100644
--- a/sys/unix_handy.hpp
+++ b/sys/unix_handy.hpp
@@ -33,7 +33,7 @@ namespace rlib {
     
     // Execute command with shell and capture stdout.
     // Note: stderr would be discarded. Use `2>&1` if needed.
-    shell_result shell_run(const std::string& command) {
+    inline shell_result shell_run(const std::string& command) {
         char buffer[128];
     
         FILE *pipe = popen(command.c_str(), "r");
@@ -53,7 +53,7 @@ namespace rlib {
         return res;
     }
 
-    auto get_shell_name() {
+    inline auto get_shell_name() {
         return shell_run("echo -n $0").stdout_;
     }
 }
-- 
GitLab