System.Shutdown
---------------

Shuts computer down.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [System](component_System.md) | [3.1](newinversion31.md) | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |

MBS( "System.Shutdown" ) ### Parameters

none

### Result

Returns OK or error number.

### Description

Shuts computer down.  
It is possible that user or other application stops the shutdown process.  
Operation will run asynchronously. The function returns immediately and shutdown process starts a second later.  
### See also

- [Plugin.LimitFunction](PluginLimitFunction.md)
- [Plugin.SetFunctions](PluginSetFunctions.md)

### Example Databases

- [Utility functions/Shutdown](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Utility%20functions/Shutdown.shtml#2ScriptAnchor_)

### Blog Entries

- [MBS Filemaker Plugin, version 3.2pr4](https://www.mbsplugins.de/archive/2013-03-18/MBS_Filemaker_Plugin_version_3/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th August 2014 , last changed 21st May 2018

  
[System.Restart](SystemRestart.md) - [System.Sleep](SystemSleep.md)

[HTML Version](SystemShutdown.shtml)