Shell.Terminate
---------------

Terminates the child process.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Shell](component_Shell.md) | [7.5](newinversion75.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |

MBS( "Shell.Terminate"; ShellRef ) 

**MBS**( **"Shell.Terminate";** /\* Terminates the child process. \*/  
**$ShellRef**) /\* The reference number from the shell.e.g. $shell \*/ 

### Parameters

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

### Result

Returns OK or error.

### Description

Terminates the child process.  
Force quits the process.  
### Release notes

- **Version 13.5**
    - Fixed [Shell.Terminate](https://www.mbsplugins.eu/ShellTerminate.shtml) for Windows to work better.

### Blog Entries

- [MBS FileMaker Plugin, version 13.5pr6](https://www.mbsplugins.de/archive/2023-10-26/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

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

  
[Shell.SetUsername](ShellSetUsername.md) - [Shell.TerminationReason](ShellTerminationReason.md)

[HTML Version](ShellTerminate.shtml)