Class ObservableOutputStreamsProcess
java.lang.Object
org.wildfly.qa.tooling.processexecution.ObservableOutputStreamsProcess
Invoke a command line and make output streams observable.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for ObservableOutputStreamsProcess -
Method Summary
Modifier and TypeMethodDescriptionintinvoke()Invoke the process execution Note: Obtaining result code on Windows is almost impossible so the check on return code should not be done there
-
Method Details
-
invoke
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:
IOExceptionInterruptedException
-