Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

Shell.TerminationReason

Returns the reason the task was terminated.

Component Version macOS Windows Linux Server iOS SDK
Shell 7.5 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ❌ No
MBS( "Shell.TerminationReason"; ShellRef )   More

Parameters

Parameter Description Example
ShellRef The reference number from the shell. $shell

Result

Returns the reason the task was terminated.

Description

Returns the reason the task was terminated.
Available in OS X v10.6 and later.
Returns 1 for exit and 2 for an uncaught signal.

This function checks for a license.

Created 11st November 2017, last changed 11st November 2017


Shell.Terminate - Shell.Wait

💬 Ask a question or report a problem