Trying to use stdin, executable and shell

This commit is contained in:
Logan Cusano
2022-03-27 13:29:15 -04:00
parent 92ab4992cb
commit 0bc0d8e031

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)