Uses of Class
org.apache.commons.exec.CommandLine
Packages that use CommandLine
Package
Description
-
Uses of CommandLine in org.apache.commons.exec
Methods in org.apache.commons.exec that return CommandLineModifier and TypeMethodDescriptionCommandLine.addArgument(String argument) Add a single argument.CommandLine.addArgument(String argument, boolean handleQuoting) Add a single argument.CommandLine.addArguments(String addArguments) Add multiple arguments.CommandLine.addArguments(String[] addArguments) Add multiple arguments.CommandLine.addArguments(String[] addArguments, boolean handleQuoting) Add multiple arguments.CommandLine.addArguments(String addArguments, boolean handleQuoting) Add multiple arguments.static CommandLineCreate a command line from a string.static CommandLineCreate a command line from a string.Methods in org.apache.commons.exec with parameters of type CommandLineModifier and TypeMethodDescriptionintDefaultExecutor.execute(CommandLine command) intDefaultExecutor.execute(CommandLine command, Map<String, String> environment) voidDefaultExecutor.execute(CommandLine command, Map<String, String> environment, ExecuteResultHandler handler) voidDefaultExecutor.execute(CommandLine command, ExecuteResultHandler handler) intExecutor.execute(CommandLine command) Methods for starting synchronous execution.intExecutor.execute(CommandLine command, Map<String, String> environment) Methods for starting synchronous execution.voidExecutor.execute(CommandLine command, Map<String, String> environment, ExecuteResultHandler handler) Methods for starting asynchronous execution.voidExecutor.execute(CommandLine command, ExecuteResultHandler handler) Methods for starting asynchronous execution.private intDefaultExecutor.executeInternal(CommandLine command, Map<String, String> environment, File dir, ExecuteStreamHandler streams) Execute an internal process.protected ProcessCreates a process that runs a command.Constructors in org.apache.commons.exec with parameters of type CommandLine -
Uses of CommandLine in org.apache.commons.exec.environment
Methods in org.apache.commons.exec.environment that return CommandLineModifier and TypeMethodDescriptionprotected CommandLineDefaultProcessingEnvironment.getProcEnvCommand()Deprecated.No longer needed -
Uses of CommandLine in org.apache.commons.exec.launcher
Methods in org.apache.commons.exec.launcher with parameters of type CommandLineModifier and TypeMethodDescriptionprivate FileVmsCommandLauncher.createCommandFile(CommandLine cmd, Map<String, String> env) CommandLauncher.exec(CommandLine cmd, Map<String, String> env) Launches the given command in a new process.Launches the given command in a new process, in the given working directory.CommandLauncherImpl.exec(CommandLine cmd, Map<String, String> env) abstract ProcessCommandLauncherProxy.exec(CommandLine cmd, Map<String, String> env) Launches the given command in a new process.Launches the given command in a new process, in the given working directoryLaunches the given command in a new process, in the given working directory.VmsCommandLauncher.exec(CommandLine cmd, Map<String, String> env) Launches the given command in a new process.Launches the given command in a new process, in the given working directory.Launches the given command in a new process, in the given working directory.