Trying to use pipe

This commit is contained in:
Logan Cusano
2022-03-27 13:32:49 -04:00
parent 5fe98bfe0e
commit 7cca55a836

View File

@@ -71,7 +71,7 @@ class OP25Handler(threading.Thread):
print(p25_kwargs)
self.OP25Proc = subprocess.Popen(p25_kwargs, shell=True, executable="/usr/bin/python3", stdin=None,
self.OP25Proc = subprocess.Popen(p25_kwargs, shell=True, executable="/usr/bin/python3", stdin=subprocess.PIPE,
stdout=subprocess.STDOUT, stderr=subprocess.STDOUT, cwd=self.OP25Dir)
#os.chdir(cwd)