Skip to content

Commit 51c63f4

Browse files
authored
Merge pull request #17 from EESSI/ocaisa-patch-1
Don't retain any output when running `module load <>`
2 parents f5f0094 + 48b201d commit 51c63f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/generate_data_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def load_and_list_modules(full_module_name):
6868

6969
# Run as one shell script so the same session is used
7070
cmd = f"""
71-
module load {full_module_name} || exit 1
71+
module load {full_module_name} >/dev/null 2>&1 || exit 1
7272
module --terse list 2>&1
7373
"""
7474

0 commit comments

Comments
 (0)