public class ProcessRunner
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static long |
TIMEOUT |
| Constructor and Description |
|---|
ProcessRunner(java.lang.String[] cmd) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getError() |
java.lang.String |
getOut() |
ProcessState |
run(byte[] in,
java.io.OutputStream redirection) |
ProcessState |
run(byte[] in,
java.io.OutputStream redirection,
java.io.File dir) |
public ProcessState run(byte[] in, java.io.OutputStream redirection)
public ProcessState run(byte[] in, java.io.OutputStream redirection, java.io.File dir)
public final java.lang.String getError()
public final java.lang.String getOut()