[bugfix] status-based Traceback on `cmd run` invocations
This converts the return status to int before running the introspection logic and fixes the issue.
This converts the return status to int before running the introspection logic and fixes the issue.