Trying to use stdin, executable and shell

This commit is contained in:
Logan Cusano
2022-03-27 13:29:15 -04:00
parent 6049af3a25
commit 5fe98bfe0e

View File

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