mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
fix -> not passing the subprocess command arg as an array when shell is set
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user