public class OS2CommandLauncher extends CommandLauncherProxy
| 构造器和说明 |
|---|
OS2CommandLauncher(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.
|
execisFailurepublic OS2CommandLauncher(CommandLauncher launcher)
public java.lang.Process exec(CommandLine cmd, java.util.Map env, java.io.File workingDir) throws java.io.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 runjava.io.IOException - forwarded from the exec method of the command launcher