Closed
Description
As per title. See also https://en.delphipraxis.net/topic/4537-exit-terminates-delphi-app/
exit() and sys.exit() raise the SystemExit python exception. PyErr_Print executed in TPythonEngine.CheckError after a SystemExit exception, results in immediate process termination, without giving Delphi a chance to handle this exception or have an orderly shutdown. Not nice.