public class WinNTCommandLauncher extends CommandLauncherProxy
| 构造器和说明 |
|---|
WinNTCommandLauncher(CommandLauncher launcher) |
| 限定符和类型 | 方法和说明 |
|---|---|
Process |
exec(CommandLine cmd,
Map<String,String> env,
File workingDir)
Launches the given command in a new process, in the given working
directory.
|
execisFailurepublic WinNTCommandLauncher(CommandLauncher launcher)
public Process exec(CommandLine cmd, Map<String,String> env, File workingDir) throws IOException
exec 在接口中 CommandLauncherexec 在类中 CommandLauncherImplcmd - 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. All rights reserved.