From fa5c0e9a7053dcd9ba4ce0360dc0a09b590b69ed Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 20 Nov 2019 20:16:28 +0100 Subject: [PATCH] Ugh had some weird issue because for some reason in some context subprocess uses /bin/sh ... --- src/yunohost/service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/yunohost/service.py b/src/yunohost/service.py index 548d1efda..9eb14012e 100644 --- a/src/yunohost/service.py +++ b/src/yunohost/service.py @@ -342,6 +342,7 @@ def service_status(names=[]): if "test_conf" in services[name]: p = subprocess.Popen(services[name]["test_conf"], shell=True, + executable='/bin/bash', stdout=subprocess.PIPE, stderr=subprocess.STDOUT)