Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

System.Shutdown

Shuts computer down.

Component Version macOS Windows Linux Server iOS SDK
System 3.1 ✅ 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

Example Databases

Blog Entries

This function is free to use.

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


System.Restart - System.Sleep