mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Ugh had some weird issue because for some reason in some context subprocess uses /bin/sh ...
This commit is contained in:
parent
16f6d500a3
commit
fa5c0e9a70
1 changed files with 1 additions and 0 deletions
|
@ -342,6 +342,7 @@ def service_status(names=[]):
|
||||||
if "test_conf" in services[name]:
|
if "test_conf" in services[name]:
|
||||||
p = subprocess.Popen(services[name]["test_conf"],
|
p = subprocess.Popen(services[name]["test_conf"],
|
||||||
shell=True,
|
shell=True,
|
||||||
|
executable='/bin/bash',
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.STDOUT)
|
stderr=subprocess.STDOUT)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue