diff --git a/clusterman/commands/plugins.py b/clusterman/commands/plugins.py index caed02a..5a58807 100644 --- a/clusterman/commands/plugins.py +++ b/clusterman/commands/plugins.py @@ -1,7 +1,7 @@ -import os +import subprocess from clusterman.config import CONF def execute(name,args): executable=CONF["plugins"][name] - os.system(executable+" "+" ".join(args)) + subprocess.run(executable.split(" ")+args)