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,
java.lang.String[] cmd,
java.lang.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, java.lang.String[] cmd, java.lang.String[] env) throws java.io.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.java.io.IOException
- forwarded from the exec method of the command launcher.