Exiting Blender

Is there a script that will close blender when you run the game engine?

Thanks For Your time! :smiley:

this would be how you’d do it, but it doesn’t work in gameblender

import sys
sys.exit()

there is a end game actuator, it will not quit blender unless it is started using the autostart thingy, or is a standalone runtime