aboutsummaryrefslogtreecommitdiff
path: root/gn_libs/jobs/launcher.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn_libs/jobs/launcher.py')
-rw-r--r--gn_libs/jobs/launcher.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gn_libs/jobs/launcher.py b/gn_libs/jobs/launcher.py
index 8eab55b..3e9e3ee 100644
--- a/gn_libs/jobs/launcher.py
+++ b/gn_libs/jobs/launcher.py
@@ -15,6 +15,8 @@ def run_job(conn, job, outputs_directory: Path):
job_id = job["job_id"]
stdout_file = outputs_directory.joinpath(f"{job_id}.stdout")
stderr_file = outputs_directory.joinpath(f"{job_id}.stderr")
+ jobs.update_metadata(conn, job_id, "stdout-file", str(stdout_file))
+ jobs.update_metadata(conn, job_id, "stderr-file", str(stderr_file))
try:
with (# TODO: Add the output streams' files to job metadata
stdout_file.open(mode="w") as outfile,