Proper handling of SystemExitException in Python
This commit is contained in:
@@ -300,6 +300,9 @@ int main( int argc, char ** argv )
|
||||
else
|
||||
App::Application::runApplication();
|
||||
}
|
||||
catch (const Base::SystemExitException&) {
|
||||
exit(0);
|
||||
}
|
||||
catch (const Base::Exception& e) {
|
||||
Base::Console().Error("%s\n", e.what());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user