exit_status Property
Contains the last commands exit status.
Syntax
def get_exit_status() -> int: ...
exit_status = property(get_exit_status, None)
Default Value
0
Remarks
Check this property to obtain the exit status (also sometimes referred to as errorlevel) of the last command or shell session.
This property is read-only.