exit_status Property
The exit code for the last executed command.
Syntax
def get_exit_status() -> int: ...
exit_status = property(get_exit_status, None)
Default Value
0
Remarks
After executing a command through execute or by setting command, the server will send a notification containing the exit_status of the command. The server may also send a textual representation of that code, which will be stored in error_message.
This property is read-only.