CommandLauncher
VmsCommandLauncher
public 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, isFailure
public 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 CommandLauncher
exec
in class CommandLauncherImpl
cmd
- 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