public abstract class CommandLauncherProxy extends LocalCommandLauncher
| 构造器和说明 |
|---|
CommandLauncherProxy(CommandLauncher<ProcessAdapter> launcher) |
| 限定符和类型 | 方法和说明 |
|---|---|
ProcessAdapter |
exec(CommandLine cmd,
Map<String,String> env)
Launches the given command in a new process.
|
exec, isFailurepublic CommandLauncherProxy(CommandLauncher<ProcessAdapter> launcher)
public ProcessAdapter exec(CommandLine cmd, Map<String,String> env) throws IOException
exec 在接口中 CommandLauncher<ProcessAdapter>exec 在类中 LocalCommandLaunchercmd - 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 © 2022. All rights reserved.