public class CommandProcess
extends java.lang.Object
implements java.util.concurrent.Callable<java.lang.Integer>
| Constructor and Description |
|---|
CommandProcess(java.lang.String[] cmd,
java.lang.String[] environment,
java.io.File wd,
java.io.OutputStream out,
java.io.OutputStream err) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
call() |
static void |
pipe(boolean fromProcess,
java.io.InputStream from,
java.io.OutputStream to) |
public CommandProcess(java.lang.String[] cmd,
java.lang.String[] environment,
java.io.File wd,
java.io.OutputStream out,
java.io.OutputStream err)
public static void pipe(boolean fromProcess,
java.io.InputStream from,
java.io.OutputStream to)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.Integer call()
throws java.lang.Exception
call in interface java.util.concurrent.Callable<java.lang.Integer>java.lang.Exception