diff --git a/op25Handler.py b/op25Handler.py index e4230d6..f155116 100644 --- a/op25Handler.py +++ b/op25Handler.py @@ -71,8 +71,8 @@ class OP25Handler(threading.Thread): print(p25_kwargs) - self.OP25Proc = subprocess.Popen(p25_kwargs, shell=True, executable="/usr/bin/python3", stdin=subprocess.PIPE, - stdout=subprocess.STDOUT, stderr=subprocess.STDOUT, cwd=self.OP25Dir) + self.OP25Proc = subprocess.Popen(p25_kwargs, executable="/usr/bin/python3", shell=False, + stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT, cwd=self.OP25Dir) #os.chdir(cwd)