public class SystemExecutor
extends java.lang.Object
| Constructor and Description |
|---|
SystemExecutor() |
| Modifier and Type | Method and Description |
|---|---|
static int |
execute(java.lang.String[] cmdLine,
java.io.OutputStream out)
Execute a command line with parameters and get the result in an outputStream
|
public static int execute(java.lang.String[] cmdLine,
java.io.OutputStream out)
throws java.lang.Exception
cmdLine - the command line and optionsout - the output stream for the outputjava.lang.Exception