Skip to content

Commit

Permalink
Merge pull request #396 from radical-cybertools/fix/flux_startup
Browse files Browse the repository at this point in the history
Fix/flux startup
  • Loading branch information
andre-merzky authored Jan 10, 2024
2 parents 8a9ca1b + 07b56d7 commit 5051415
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 246 deletions.
3 changes: 1 addition & 2 deletions src/radical/utils/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def env_prep(environment : Optional[Dict[str,str]] = None,
raise RuntimeError('error running "%s": %s' % (cmd, err))

env = env_read_lines(out.split('\n'))
# os.unlink(tmp_name)
os.unlink(tmp_name)

_env_cache[cache_md5] = env

Expand All @@ -402,7 +402,6 @@ def env_prep(environment : Optional[Dict[str,str]] = None,
#
# FIXME: files could also be cached and re-used (copied or linked)
if script_path:

env_write(script_path, env=env, unset=unset, pre_exec=pre_exec)

return env
Expand Down
Loading

0 comments on commit 5051415

Please sign in to comment.