Be os.nice()-r

This commit is contained in:
James R. Barlow
2019-02-07 17:24:47 -08:00
parent a733b09623
commit 4f06920224
+2
View File
@@ -1101,6 +1101,8 @@ def run_pipeline(args=None):
build_pipeline(options, work_folder, _log, context)
atexit.register(cleanup_working_files, work_folder, options)
if hasattr(os, 'nice'):
os.nice(5)
cmdline.run(options)
except ruffus_exceptions.RethrownJobError as e:
if options.verbose: