类 OS2CommandLauncher
java.lang.Object
com.sh.common.exec.launcher.CommandLauncherImpl
com.sh.common.exec.launcher.CommandLauncherProxy
com.sh.common.exec.launcher.OS2CommandLauncher
- 所有已实现的接口:
CommandLauncher
Description:
Title:首亨软件 - CRM、TSS、ERP等信息化管理软件
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明exec(CommandLine cmd, Map env, File workingDir) Launches the given command in a new process, in the given working directory.从类继承的方法 com.sh.common.exec.launcher.CommandLauncherProxy
exec从类继承的方法 com.sh.common.exec.launcher.CommandLauncherImpl
isFailure
-
构造器详细资料
-
OS2CommandLauncher
-
-
方法详细资料
-
exec
Launches the given command in a new process, in the given working directory.- 指定者:
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 run- 返回:
- the newly created process
- 抛出:
IOException- forwarded from the exec method of the command launcher
-