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: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    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.

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


Shell.Terminate - Shell.Wait

Feedback: Report problem or ask question.