Embedded Python and sys.exit()
angelow at tttech.com
Wed Mar 29 16:59:56 CEST 2000
I have embedded Python in a Win MFC program and execute script files and
If the python script raises SystemExit or calls sys.exit() the whole process
is shut down.
How can I manage that only the Python Interpreter stops and returns from the
function call of
Py_RunFile or PyRun_String? Does Python know, that it is embedded?
More information about the Python-list