CommandLauncherVmsCommandLauncherpublic class Java13CommandLauncher extends CommandLauncherImpl
| Constructor | Description |
|---|---|
Java13CommandLauncher() |
Constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Process |
exec(CommandLine cmd,
java.util.Map<java.lang.String,java.lang.String> env,
java.io.File workingDir) |
Launches the given command in a new process, in the given working
directory
|
exec, isFailurepublic Java13CommandLauncher()
public java.lang.Process exec(CommandLine cmd, java.util.Map<java.lang.String,java.lang.String> env, java.io.File workingDir) throws java.io.IOException
exec in interface CommandLauncherexec in class CommandLauncherImplcmd - the command line to execute as an array of stringsenv - the environment to set as an array of stringsworkingDir - the working directory where the command should runjava.io.IOException - probably forwarded from Runtime#exec