Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  

SSH.GetExitState

Get the remote exit code.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SSH 6.3 Yes Yes Yes Yes Yes

MBS( "SSH.GetExitState"; SSH )

Parameters

Parameter Description Example value
SSH The SSH session reference number from the plugin. $ssh

Result

Returns state or error.

Description

Get the remote exit code.
Returns the exit code raised by the process running on the remote host at the other end of the named channel. Note that the exit status may not be available if the remote end has not yet set its status to closed.
Returns 0 on failure, otherwise the Exit Status reported by remote host.

SSH.FreeChannel   -   SSH.GetIP

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos