summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--clusterman/commands/plugins.py4
1 files changed, 2 insertions, 2 deletions
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)