From 1257b713fc49f3eba35a89c0e39c25fc060a8d7e Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sat, 19 Mar 2022 00:39:10 -0400 Subject: [PATCH] Testing OP25 Improvements - Disabled shell --- op25Handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/op25Handler.py b/op25Handler.py index 0f54491..f9717a1 100644 --- a/op25Handler.py +++ b/op25Handler.py @@ -36,13 +36,13 @@ class OP25Handler: #(threading.Thread): if self.HTTP_ENABLED: self.OP25Proc = subprocess.Popen([f"./rx.py", "--args", "rtl", "-N", "LNA:49", "-s", "200000", "-o", "25600", "-U", "-f", f"{self.Frequency}e6", "-X", "-2", - "-l" "http:0.0.0.0:8080"], shell=True, stdout=subprocess.DEVNULL, + "-l" "http:0.0.0.0:8080"], shell=False, stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT) else: self.OP25Proc = subprocess.Popen([f"./rx.py", "--args", "rtl", "-N", "LNA:49", "-s", "200000", "-o", "25600", "-U", "-f", f"{self.Frequency}e6", "-X", "-2"], - shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT) + shell=False, stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT) os.chdir(cwd)