org.mmbase.util.externalprocess
Class CommandExecutor
java.lang.Object
org.mmbase.util.externalprocess.CommandExecutor
public class CommandExecutor
- extends Object
The command executor provides a way to perform external commands. Using either CommandLauncher or a connection to a CommandServer.
- Since:
- MMBase-1.9.1
- Version:
- $Id: $
- Author:
- Michiel Meeuwissen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandExecutor
public CommandExecutor()
execute
public static void execute(OutputStream outputStream,
CommandExecutor.Method method,
String command,
String... args)
throws ProcessException,
InterruptedException
- Throws:
ProcessException
InterruptedException
execute
public static void execute(OutputStream outputStream,
OutputStream errorStream,
CommandExecutor.Method method,
String command,
String... args)
throws ProcessException,
InterruptedException
- Throws:
ProcessException
InterruptedException
MMBase 2.0-SNAPSHOT - null