Class AutoClosableProcess

  • All Implemented Interfaces:
    AutoCloseable

    public class AutoClosableProcess
    extends Object
    implements AutoCloseable
    Utility class to terminate a given Process when exiting a try-with-resources statement.