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`