Back to product page

ExitSignal property


Holds exit signal from SSH connection.

Type

A String value

Syntax

  • Basic
object.ExitSignal
The ExitSignal(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodSSH.
valueA String value.

Remarks

ExitSignal property holds result code sent by SSH server when remote command was terminated violently due to a signal. Empty property usually means that command terminated successfully. ExitSignal will hold data in the format:

SIGNAL C EXPLANATION

SIGNAL can be one of these: ABRT ALRM FPE HUP ILL INT KILL PIPE QUIT SEGV TERM USR1 USR2 (additional signal names may be send in the format sig-name@xyz)

C will hold 1 if core was dumped (0 otherwise)

EXPLANATION will hold text description of the error message, may consist of multiple lines. You can choose to display this error to the user.

NOTE: this property is used only in SSH protocol.

Platforms

Windows