Skip to content
Snippets Groups Projects
Commit cd623230 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

MNT: Remove hold job stdout/err files

parent 68f203f0
No related branches found
No related tags found
No related merge requests found
......@@ -645,7 +645,11 @@ def hold(job_ids, hold_filename=None, timeout=10):
while not op.exists(hold_filename):
time.sleep(timeout)
# remove the hold file and the
# fsl_sub job stdout/err files
os.remove(hold_filename)
for outfile in glob.glob('.hold.[o,e]*'):
os.remove(outfile)
def job_output(job_id, logdir='.', command=None, name=None):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment