Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
RunTask.Terminate
Sends a terminate signal to the receiver and all of its subtasks.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
RunTask | 3.1 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |
Deprecated
This function was deprecated. Use Shell functions instead.
MBS( "RunTask.Terminate"; ExitCode ) More
Parameters
Parameter | Description | Example |
---|---|---|
ExitCode | Only for Windows the exit code for the application. | 1 |
Result
Returns OK or error.
Description
Sends a terminate signal to the receiver and all of its subtasks.This method has no effect if the receiver was already launched and has already finished executing. If the receiver has not been launched yet, this method raises an NSInvalidArgumentException.
It is not always possible to terminate the receiver because it might be ignoring the terminate signal. terminate sends SIGTERM.
Example Databases
This function checks for a license.
Created 18th August 2014, last changed 13th June 2020
