Back to product page

ExitStatus property


Holds exit status from SSH connection.

Type

A Long value

Syntax

  • Basic
object.ExitStatus
The ExitStatus(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodSSH.
valueA Long value. Exit status of executed SSH command.

Remarks

ExitStatus property is used by some SSH servers when they want to return exit status of the command that was executed (usually through Command property). By default, this property will hold 0 which also declares 'success'. Various executables may return various exit status numbers, which SSH server returns through this property to your applications.

NOTE: this property is used only in SSH protocol.

Platforms

Windows