Commit 7227d0c5 authored by Lukas Weber's avatar Lukas Weber
Browse files

run commands in shell to make segfaults visible to the user

parent a4521853
......@@ -64,9 +64,9 @@ def run():
job_input_filename = job.write_job_input_file()
if args_run.single:
cmd = [job.jobconfig['mc_binary'], 'single', job_input_filename]
print('$ '+' '.join(cmd))
cmd = '{} single "{}"'.format(job.jobconfig['mc_binary'], job_input_filename)
print('$ '+cmd), shell=True)
else:, job.jobconfig, [job.jobconfig['mc_binary'], job_input_filename])
......@@ -84,9 +84,9 @@ def delete():
def merge():
job_input_filename = job.write_job_input_file()
cmd = [job.jobconfig['mc_binary'], 'merge', job_input_filename]
print('$ '+' '.join(cmd))
cmd = '{} merge "{}"'.format(job.jobconfig['mc_binary'], job_input_filename)
print('$ '+cmd), shell=True)
def status():
from loadleveller import jobstatus
Supports Markdown
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