public class OS2CommandLauncher extends CommandLauncherProxy
Unlike Windows NT and friends, OS/2's cd doesn't support the /d switch to change drives and directories in one go.
Please not that this class is currently unused because the Java13CommandLauncher is used for 0S/2| 构造器和说明 |
|---|
OS2CommandLauncher(CommandLauncher launcher) |
| 限定符和类型 | 方法和说明 |
|---|---|
ProcessAdapter |
exec(CommandLine cmd,
Map<String,String> env,
File workingDir)
Launches the given command in a new process, in the given working
directory.
|
execisFailurepublic OS2CommandLauncher(CommandLauncher launcher)
public ProcessAdapter exec(CommandLine cmd, Map<String,String> env, File workingDir) 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 stringsworkingDir - working directory where the command should runIOException - forwarded from the exec method of the command launcherCopyright © 2022. All rights reserved.