public abstract class CommandLauncherProxy extends CommandLauncherImpl
Constructor and Description |
---|
CommandLauncherProxy(CommandLauncher launcher) |
Modifier and Type | Method and Description |
---|---|
Process |
exec(CommandLine cmd,
Map<String,String> env)
Launches the given command in a new process.
|
exec, isFailure
public CommandLauncherProxy(CommandLauncher launcher)
public Process exec(CommandLine cmd, Map<String,String> env) 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 stringsIOException
- forwarded from the exec method of the command launcherCopyright © 2023 The Apache Software Foundation. All rights reserved.