If you call sys.exit(1); from inside your embedded code you run the risk of closing you app, (as exit will be called). This post explains how to prevent this from happening.
If you call sys.exit(1); from inside your embedded code you run the risk of closing you app, (as exit will be called). This post explains how to prevent this from happening.