From 300524d4af7c6db66ec76182158d01456313b902 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Fri, 18 Feb 2022 01:15:30 -0500 Subject: [PATCH] BUGFIG op25 --- op25Handler.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/op25Handler.py b/op25Handler.py index aed587b..67cdd9b 100644 --- a/op25Handler.py +++ b/op25Handler.py @@ -25,9 +25,10 @@ class OP25Handler(threading.Thread): print(os.getcwd()) - self.OP25Proc = subprocess.call(["python3", f"{self.OP25Dir}/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.PIPE, stderr=subprocess.PIPE) + self.OP25Proc = subprocess.Popen(["python3", f"{self.OP25Dir}/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.PIPE, + stderr=subprocess.PIPE) def close_op25(self): print(f"Closing OP25")