public class WinNTCommandLauncher extends CommandLauncherProxy
构造器和说明 |
---|
WinNTCommandLauncher(CommandLauncher launcher) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Process |
exec(CommandLine cmd,
java.util.Map env,
java.io.File workingDir)
Launches the given command in a new process, in the given working
directory.
|
exec
isFailure
public WinNTCommandLauncher(CommandLauncher launcher)
public java.lang.Process exec(CommandLine cmd, java.util.Map env, java.io.File workingDir) throws java.io.IOException
exec
在接口中 CommandLauncher
exec
在类中 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 runjava.io.IOException
- forwarded from the exec method of the command launcher