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/2Constructor and Description |
---|
OS2CommandLauncher(CommandLauncher launcher) |
Modifier and Type | Method and Description |
---|---|
java.lang.Process |
exec(CommandLine cmd,
java.util.Map<java.lang.String,java.lang.String> env,
java.io.File workingDir)
Launches the given command in a new process, in the given working
directory.
|
exec
isFailure
public OS2CommandLauncher(CommandLauncher launcher)
public java.lang.Process exec(CommandLine cmd, java.util.Map<java.lang.String,java.lang.String> env, java.io.File workingDir) throws java.io.IOException
exec
in interface CommandLauncher
exec
in class 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"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"