Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
System.Restart
Restarts computer.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
System | 3.1 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |
MBS( "System.Restart" )
Parameters
none
Result
Returns OK or error number.
Description
Restarts computer.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.
Example Databases
Blog Entries
This function is free to use.
Created 18th August 2014, last changed 21st May 2018