From eb93e58f053756de96ef5d5249fcf1cf478b1bb4 Mon Sep 17 00:00:00 2001 From: Simon Branford <4967+branfosj@users.noreply.github.com> Date: Mon, 29 Jan 2024 10:52:07 +0000 Subject: [PATCH] fix typo in example code for run_shell_cmd --- docs/easybuild-v5/run_shell_cmd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/easybuild-v5/run_shell_cmd.md b/docs/easybuild-v5/run_shell_cmd.md index d1df7bd7d..4fbd92cc1 100644 --- a/docs/easybuild-v5/run_shell_cmd.md +++ b/docs/easybuild-v5/run_shell_cmd.md @@ -53,7 +53,7 @@ Examples: cmd = "cmake --version" res = run_shell_cmd(cmd, hidden=True, fail_on_error=False) out = res.output - ec = res.code + ec = res.exit_code ``` ## Transitioning from `run_cmd` to `run_shell_cmd`