Class ObservableOutputStreamsProcess

java.lang.Object
org.wildfly.qa.tooling.processexecution.ObservableOutputStreamsProcess

public class ObservableOutputStreamsProcess extends Object
Invoke a command line and make output streams observable.
  • Method Details

    • invoke

      public int invoke() throws IOException, InterruptedException
      Invoke the process execution Note: Obtaining result code on Windows is almost impossible so the check on return code should not be done there
      Returns:
      return value of invoked process (not on Windows)
      Throws:
      IOException
      InterruptedException