Testing OP25 Improvements

- Disabled shell
This commit is contained in:
Logan Cusano
2022-03-19 00:39:10 -04:00
parent 4f7ec14807
commit 1257b713fc

View File

@@ -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)