Class ProcessHandler


  • public class ProcessHandler
    extends Object
    Handles the execution of an external process, focused on running a Quarkus application jar.

    Starts the process configured in a ProcessBuilder, provides a method to get the Quarkus HTTP listen URL as Quarkus prints to stdout, and manages process lifetime and line-by-line I/O pass-through for stdout + stderr.

    Any instance of this class can only be used to start (and stop) one process and cannot be reused for another process.

    This implementation is not thread-safe.