Class ProcessResult

    • Constructor Detail

      • ProcessResult

        public ProcessResult​(Process aProcess)
                      throws IOException
        Constructs a ProcessResult instance which will synchronously return the process' result via getResult() (and toString() accordingly).
        Parameters:
        aProcess - The Process from which to retrieve the result.
        Throws:
        IOException - Thrown in case there were problems retrieving the result. If possible, the error stream of the process is captured in the exception's message.