public class WinNTCommandLauncher extends CommandLauncherProxy
Constructor and Description |
---|
WinNTCommandLauncher(CommandLauncher launcher) |
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
isFailure
public WinNTCommandLauncher(CommandLauncher launcher)
public Process exec(CommandLine cmd, Map<String,String> env, File workingDir) throws 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
- working directory where the command should runIOException
- forwarded from the exec method of the command launcherCopyright © 2021 The Apache Software Foundation. All rights reserved.