Commit 9a53aedb authored by Christoph Arthofer's avatar Christoph Arthofer
Browse files

fslsub

parent 6eb7db9f
......@@ -522,6 +522,8 @@ def submitJob(name, log_dir, queue, wait_for=[], script=None, command=None, copr
# stream = os.popen(cmd)
# job_id = stream.read()
print(cmd)
try:
result = subprocess.run(cmd, capture_output=True, text=True, check=True)
except subprocess.CalledProcessError as e:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment