Open
Description
The SpringApplication.exit
method seems quite hard to read. We currently document that it can be used as follows:
System.exit(SpringApplication.exit(SpringApplication.run(MyExitCodeApplication.class, args)));
It feels like a runAndExit
method might be helpful:
SpringApplication.runAndExit(MyExitCodeApplication.class, args);