From bf8adda80b00bb450022d1c6205ec97661f22a9c Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sun, 27 Mar 2022 05:20:00 -0400 Subject: [PATCH] idk --- op25Handler.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/op25Handler.py b/op25Handler.py index 304d6bf..7adafb6 100644 --- a/op25Handler.py +++ b/op25Handler.py @@ -54,7 +54,7 @@ class OP25Handler(threading.Thread): #p25_kwargs = ["./rx.py", "--args", "rtl", "-N", "LNA:49", "-s", "200000", "-o", "25600", "-U", "-f", # f"{self.Frequency}e6", "-X", "-2"] - p25_kwargs = f"./rx.py --args rtl -N LNA:49 -s 200000 -o 25600 -U -f {self.Frequency}e6 -X -2" + p25_kwargs = f"{self.OP25Dir}rx.py --args rtl -N LNA:49 -s 200000 -o 25600 -U -f {self.Frequency}e6 -X -2" p25_stdout = subprocess.DEVNULL p25_stderr = subprocess.STDOUT @@ -68,6 +68,8 @@ class OP25Handler(threading.Thread): p25_kwargs += " -l http:0.0.0.0:8080" p25_stdout = subprocess.STDOUT + print(p25_kwargs) + self.OP25Proc = subprocess.Popen(p25_kwargs, shell=False, stdout=p25_stdout, stderr=p25_stderr) os.chdir(cwd)