--- title: "system.perspective.workstation.exit" description: "When called from a session running in Workstation, this function will close Workstation." --- # system.perspective.workstation.exit > When called from a session running in Workstation, this function will close Workstation. This function is used in **Python Scripting**. ## Description ## Syntax `system.perspective.workstation.exit()` ### Parameters Nothing ### Returns Nothing ### Scope Perspective Session ## Code Examples ```python title="Code Snippet" # This example will close the current Perspective Workstation Session. system.perspective.workstation.exit() ```