public class GenericCommandExecute
extends java.lang.Object
| Constructor and Description |
|---|
GenericCommandExecute() |
| Modifier and Type | Method and Description |
|---|---|
static int |
execute(java.lang.String command) |
static int |
execute(java.lang.String command,
java.io.Reader stdin,
java.io.OutputStream stdout,
java.io.OutputStream stderr) |
static int |
execute(java.lang.String command,
java.io.Reader stdin,
java.io.Writer stdout,
java.io.Writer stderr) |
static void |
main(java.lang.String[] args) |
public static int execute(java.lang.String command)
throws java.lang.InterruptedException,
java.io.IOException
java.lang.InterruptedExceptionjava.io.IOExceptionpublic static int execute(java.lang.String command,
java.io.Reader stdin,
java.io.OutputStream stdout,
java.io.OutputStream stderr)
throws java.lang.InterruptedException,
java.io.IOException
java.lang.InterruptedExceptionjava.io.IOExceptionpublic static int execute(java.lang.String command,
java.io.Reader stdin,
java.io.Writer stdout,
java.io.Writer stderr)
throws java.lang.InterruptedException,
java.io.IOException
java.lang.InterruptedExceptionjava.io.IOExceptionpublic static void main(java.lang.String[] args)