Skip to main content

SSHExecResult

Resultado gerado pelos comandos SSH depois que são executados.


error


error() : string

Description

Returns the command execution error for the current object (if any).

Return

( string )

Error of executing the command.


error(error: string) : SSHExecResult

Description

Returns the error of executing the command for the current object.

Attributes
NAMETYPEDESCRIPTION
errorstringError of executing the command.
Return

( SSHExecResult )

The SSHExecResulte current object.


exitErrorMessage


exitErrorMessage() : string

Description

Returns the command execution error message for the current object (if any).

Return

( string )

Command execution error message.


exitErrorMessage(errorMessage: string) : SSHExecResult

Description

Returns the command execution error message for the current object (if any).

Attributes
NAMETYPEDESCRIPTION
errorMessagestringCommand execution error message.
Return

( SSHExecResult )

The SSHExecResulte current object.


exitStatus


exitStatus() : int

Description

Returns the exit code of the command that was executed.

Return

( int )

The exit code of the command that was executed.


exitStatus(exitStatus: int) : SSHExecResult

Description

Returns the exit code of the command that was executed.

Attributes
NAMETYPEDESCRIPTION
exitStatusintThe exit code of the command that was executed.
Return

( SSHExecResult )

The SSHExecResulte current object.


id


id() : int

Description

Returns the id of the current object.

Return

( int )

The id of the current object.


id(id: int) : SSHExecResult

Description

Defines the id of the current object.

Attributes
NAMETYPEDESCRIPTION
idintThe id of the current object.
Return

( SSHExecResult )

The SSHExecResulte current object.


output


output() : string

Description

Returns the result of executing the command for the current object.

Return

( string )

Result of executing the command.


output(output: string) : SSHExecResult

Description

Returns the result of executing the command for the current object.

Attributes
NAMETYPEDESCRIPTION
outputstringResult of executing the command.
Return

( SSHExecResult )

The SSHExecResulte current object.