diff --git a/bauh/commons/system.py b/bauh/commons/system.py index 3437a479..1d4c3911 100644 --- a/bauh/commons/system.py +++ b/bauh/commons/system.py @@ -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: