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