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)