IPWorks SSH 2020 Python Edition

Questions / Feedback?

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.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 Python Edition - Version 20.0 [Build 8501]