From 69ddbe559ba0b6d08d8167da86ed7c131ffd7712 Mon Sep 17 00:00:00 2001 From: jaydee Date: Sun, 7 Dec 2025 22:33:43 +0100 Subject: [PATCH] build --- mqtt_srv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mqtt_srv.py b/mqtt_srv.py index db01e38..46a7296 100755 --- a/mqtt_srv.py +++ b/mqtt_srv.py @@ -695,7 +695,7 @@ def on_message(client, userdata, msg): #myCmd = "sudo XDG_RUNTIME_DIR=/run/user/1000 -u jd amixer sget Master | awk -F'[][]' '/Left:/ { print $2 }'" myCmd = "sudo XDG_RUNTIME_DIR=/run/user/1000 -u jd amixer sget Master" writeLog(myCmd) - output = subprocess.Popen(myCmd, shell=True) + output = subprocess.Popen(myCmd, shell=False) writeLog(f"Status of volume {output}")