| Modifier and Type | Field and Description |
|---|---|
| protected static final FileUtils | |
| private static CommandLauncher | |
| private static CommandLauncher |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Process | |
| public Process | Returns: the created Process.The project that the command is part of. project, String[] The command to execute. cmd, String[] The environment for the new process. If null, the
environment of the current process is used. env, File The directory to start the command in. If null, the
current directory is used. workingDir)Launches the given command in a new process, in the given working directory. |
| private static CommandLauncher | |
| public static CommandLauncher | Returns: CommandLauncherProject project)Obtains the shell launcher configured for the given project or the default shell launcher. |
| private static CommandLauncher | |
| public static CommandLauncher | Returns: CommandLauncherProject project)Obtains the VM launcher configured for the given project or the default VM launcher. |
| public static void | setShellLauncher(Project
Project project, CommandLauncher CommandLauncher launcher)Sets the shell launcher to use for the given project. |
| public static void | setVMLauncher(Project
Project project, CommandLauncher CommandLauncher launcher)Sets the VM launcher to use for the given project. |
| FILE_UTILS | back to summary |
|---|---|
| protected static final FileUtils FILE_UTILS | |
| shellLauncher | back to summary |
|---|---|
| private static CommandLauncher shellLauncher | |
| vmLauncher | back to summary |
|---|---|
| private static CommandLauncher vmLauncher | |
| CommandLauncher | back to summary |
|---|---|
| public CommandLauncher() | |
| exec | back to summary |
|---|---|
| public Process exec(Project project, String[] cmd, String[] env) throws IOException Launches the given command in a new process.
| |
| exec | back to summary |
|---|---|
| public Process exec(Project project, String[] cmd, String[] env, File workingDir) throws IOException Launches the given command in a new process, in the given working directory.
| |
| extractLauncher | back to summary |
|---|---|
| private static CommandLauncher extractLauncher(String referenceName, Project project) | |
| getShellLauncher | back to summary |
|---|---|
| public static CommandLauncher getShellLauncher(Project project) Obtains the shell launcher configured for the given project or the default shell launcher.
| |
| getSystemLauncher | back to summary |
|---|---|
| private static CommandLauncher getSystemLauncher(String launcherRefId) | |
| getVMLauncher | back to summary |
|---|---|
| public static CommandLauncher getVMLauncher(Project project) Obtains the VM launcher configured for the given project or the default VM launcher.
| |
| setShellLauncher | back to summary |
|---|---|
| public static void setShellLauncher(Project project, CommandLauncher launcher) Sets the shell launcher to use for the given project.
| |
| setVMLauncher | back to summary |
|---|---|
| public static void setVMLauncher(Project project, CommandLauncher launcher) Sets the VM launcher to use for the given project.
| |