Minor changes

This commit is contained in:
Loïc Guégan 2023-10-27 12:20:26 +02:00
parent 7e267d1bcc
commit be63ecd7dc

View file

@ -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)