- exit #!optional CODEprocedure
Exit the running process and return exit-code, which defaults to 0 (Invokes exit-handler).
Note that pending dynamic-wind thunks are not invoked when exiting your program in this way.
This procedure is deprecated in favor of the exit procedure in the [[Module (scheme process-context)|(scheme process-context)|] module.