Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions easybuild/tools/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@ def create_cmd_scripts(cmd_str, work_dir, env, tmpdir, out_file, err_file):

fid.write('\n\nPS1="eb-shell> "')

# If set it would rely on functions that are not defined in this shell, messing up the prompt
fid.write('\nunset PROMPT_COMMAND\n')

# define $EB_CMD_OUT_FILE to contain path to file with command output
fid.write(f'\nEB_CMD_OUT_FILE="{out_file}"')
# define $EB_CMD_ERR_FILE to contain path to file with command stderr output (if available)
Expand Down