From c4edfae8eefb7ba2b1bd5808b8304b04b1030855 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Fri, 18 Feb 2022 00:42:43 -0500 Subject: [PATCH] BUGFIX op25Handler.py - Padded error and out pipes --- op25Handler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/op25Handler.py b/op25Handler.py index 8e2eb7f..312bbc9 100644 --- a/op25Handler.py +++ b/op25Handler.py @@ -25,7 +25,8 @@ class OP25Handler(threading.Thread): os.chdir(self.OP25Dir) 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) + "25600", "-U", "-f", f"{self.Frequency}e6", "-X", "-2"], shell=True, + stdout=subprocess.PIPE, stderr=subprocess.PIPE) def close_op25(self): print(f"Closing OP25")