Skip to content

Commit

Permalink
CR: make sure tmpdir exists
Browse files Browse the repository at this point in the history
  • Loading branch information
roi-granulate committed Sep 4, 2024
1 parent 4a27c69 commit a8b61ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gprofiler/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ def start_process(
env = env if env is not None else os.environ.copy()
env.update({"LD_LIBRARY_PATH": ""})
if tmpdir is not None:
tmpdir.mkdir(exist_ok=True)
env.update({"TMPDIR": tmpdir})

if is_windows():
Expand Down

0 comments on commit a8b61ca

Please sign in to comment.