Skip to content
Snippets Groups Projects
Commit 3b61c6cf authored by Christopher Spinrath's avatar Christopher Spinrath
Browse files

Extend leading ~ to the user's home directory in work-dir specs

parent a034e5c6
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ class Task:
parameters = data.get("parameters", [])
if "work-dir" in data:
work_dir = pathlib.Path(data["work-dir"])
work_dir = pathlib.Path(data["work-dir"]).expanduser()
else:
work_dir = pathlib.Path.cwd()
......
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