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

App.Exit

Quits the current process.

Component Version macOS Windows Linux Server iOS SDK
App 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "App.Exit"; ExitCode )   More

Parameters

Parameter Description Example
ExitCode The exit code to pass. 0

Result

Returns OK or error.

Description

Quits the current process.
Can be used on server to restart scripting engine. The engine then is restarted right away.
On success, the next line in the script will not run.

Examples

Exit in script:

Set Variable [$r; MBS("App.Exit")]

Release notes

  • Version 11.1
    • Added App.Exit to quit current FileMaker process. Allows to restart server scripting engine.

Blog Entries

This function is free to use.

Created 16th February 2021, last changed 16th February 2021


App.EffectiveUserID - App.GetDockBadgeLabel