Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: edits/style, syntax
Scripting_function


Panel
titleDescription

Exits the running client, as long as the shutdown intercept script doesn't cancel the shutdown event. Set force to true to not give the shutdown intercept script a chance to cancel the exit. Note that this will quit the Client completely. you can use system.security.logout() to return to the login screen.

Client permissions restrictions


Panel
titleSyntax

system.util.exit([force])

  • Parameters

booleanBoolean force - If true (1), the shutdown-intercept script will be skipped. Default is false (0). [optional]

  • Returns

nothingNothing

  • Scope

Vision Client

Panel
titleCode Examples
Code Block
languagepy
titleCode Snippet
# This code would exit the client after confirming with the user.
if system.gui.confirm("Are you sure you want to exit?"):
   system.util.exit()
Panel
titleKeywords

system util exit, util.exit