You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the python interpreter raises an error (e.g., sys.exit(1)), this error code is not bubbled up to the process. Instead the process exits cleanly with error code 0.
On main, the error code of the process correctly mirrors the error code of the python.
Steps to reproduce
Please try to provide a minimal example to reproduce the bug. Error messages and stack traces are also helpful.
Thanks @Alex-Omar-Nvidia for reporting that the develop CLI lost child-process exit codes.
This is fixed in #5238, which restored propagation of the child command's exit status in isaaclab.cli. The reported command now exits with status 1 on the current checkout. Please reopen if a current Isaac Lab installation still returns 0 for a failing child command.
Activity
Have python return status code (#5238)
mgwedd commentedon Jul 29, 2026
Fix PR: #6758
Fixes CLI subcommands exiting 0 when the child command fails
maxkra15 commentedon Sep 15, 2026
Thanks @Alex-Omar-Nvidia for reporting that the develop CLI lost child-process exit codes.
This is fixed in #5238, which restored propagation of the child command's exit status in
isaaclab.cli. The reported command now exits with status1on the current checkout. Please reopen if a current Isaac Lab installation still returns0for a failing child command.fix(cli): CLI subcommands exiting 0 when the child command fails (#6758)
fix(cli): CLI subcommands exiting 0 when the child command fails (#6758)