summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Guegan <loic.guegan@mailbox.org>2023-10-27 12:20:26 +0200
committerLoic Guegan <loic.guegan@mailbox.org>2023-10-27 12:20:26 +0200
commitbe63ecd7dcd86480b7d134c0b281d5a3160531eb (patch)
tree2a4d8836a8091bc3e36a4ad849618af4a7ce6a54
parent7e267d1bcc8aaa04b12f8522f4fb9d4e9e19f180 (diff)
Minor changes
-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)