public class Java13CommandLauncher extends CommandLauncherImpl
| Constructor and Description |
|---|
Java13CommandLauncher()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Process |
exec(CommandLine cmd,
Map<String,String> env,
File workingDir)
Launches the given command in a new process, in the given working
directory
|
exec, isFailurepublic Process exec(CommandLine cmd, Map<String,String> env, File workingDir) throws 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 runIOException - probably forwarded from Runtime#execCopyright © 2014 The Apache Software Foundation. All rights reserved.