public class CommandLauncherProxy extends CommandLauncher
FILE_UTILS
Modifier | Constructor and Description |
---|---|
protected |
CommandLauncherProxy(CommandLauncher launcher) |
Modifier and Type | Method and Description |
---|---|
java.lang.Process |
exec(Project project,
String[] cmd,
String[] env)
Launches the given command in a new process.
|
exec, getShellLauncher, getVMLauncher, setShellLauncher, setVMLauncher
protected CommandLauncherProxy(CommandLauncher launcher)
public java.lang.Process exec(Project project, String[] cmd, String[] env) throws IOException
exec
in class CommandLauncher
project
- the Ant project.cmd
- the command line to execute as an array of strings.env
- the environment to set as an array of strings.IOException
- forwarded from the exec method of the command launcher.