public class CommandExecutor extends Object
CommandLauncher or a connection to a CommandServer.| Modifier and Type | Class and Description |
|---|---|
static class |
CommandExecutor.Copier |
static class |
CommandExecutor.Method |
static class |
CommandExecutor.Type |
| Constructor and Description |
|---|
CommandExecutor() |
| Modifier and Type | Method and Description |
|---|---|
static long |
execute(InputStream inputStream,
OutputStream outputStream,
OutputStream errorStream,
CommandExecutor.Method method,
String[] env,
String command,
String... args) |
static void |
execute(OutputStream outputStream,
CommandExecutor.Method method,
String command,
String... args) |
static void |
execute(OutputStream outputStream,
OutputStream errorStream,
CommandExecutor.Method method,
String command,
String... args) |
public static void execute(OutputStream outputStream, CommandExecutor.Method method, String command, String... args) throws ProcessException, InterruptedException
ProcessExceptionInterruptedExceptionpublic static void execute(OutputStream outputStream, OutputStream errorStream, CommandExecutor.Method method, String command, String... args) throws ProcessException, InterruptedException
ProcessExceptionInterruptedExceptionpublic static long execute(InputStream inputStream, OutputStream outputStream, OutputStream errorStream, CommandExecutor.Method method, String[] env, String command, String... args) throws ProcessException, InterruptedException
ProcessExceptionInterruptedExceptionMMBase 1.9-SNAPSHOT - ${javadoctimestamp}