Class IOResult

java.lang.Object
generic.concurrent.io.IOResult
All Implemented Interfaces:
Runnable

public class IOResult extends Object implements Runnable
Runnable that will consume all text output from an InputStream tied to an external processes (stdout / stderr).

The output can be inspected line-by-line by providing a string Consumer, or the entire output of the process can be inspected by calling getOutput() or getOutputAsString().