Example usage for Java org.apache.commons.exec DefaultExecuteResultHandler fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | hasResult Keep track if the process is still running |
DefaultExecuteResultHandler() Constructor. |
ExecuteException | getException() Get the exception causing the process execution to fail. |
int | getExitValue() Get the exitValue of the process. |
void | onProcessComplete(final int exitValue) |
void | waitFor() Causes the current thread to wait, if necessary, until the process has terminated. |
void | waitFor(final long timeout) Causes the current thread to wait, if necessary, until the process has terminated. |