mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 02:54:16 +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:
|
if stdin:
|
||||||
args['stdin'] = 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:
|
class ProcessHandler:
|
||||||
|
|||||||
Reference in New Issue
Block a user