Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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
