fix -> not passing the subprocess command arg as an array when shell is set

This commit is contained in:
Vinicius Moreira
2020-08-20 14:47:32 -03:00
parent c4e20e17c7
commit f16870afd3

View File

@@ -97,7 +97,7 @@ class SimpleProcess:
if stdin:
args['stdin'] = stdin
return subprocess.Popen(args=' '.join(cmd) if self.shell else cmd, **args)
return subprocess.Popen(args=[' '.join(cmd)] if self.shell else cmd, **args)
class ProcessHandler: