OpenSearch/qa/evil-tests
Jason Tedor 510ad7b9c7 Add shutdown hook for closing CLI commands
This commit enables CLI commands to be closeable and installs a runtime
shutdown hook to ensure that if the JVM shuts down (as opposed to
aborting) the close method is called.

It is not enough to wrap uses of commands in main methods in
try-with-resources blocks as these will not run if, say, the virtual
machine is terminated in response to SIGINT, or system shutdown event.

Relates #22126
2016-12-13 19:10:11 -05:00
..
src/test Add shutdown hook for closing CLI commands 2016-12-13 19:10:11 -05:00
build.gradle Plugins: Add status bar on download (#18695) 2016-06-29 16:44:12 +02:00