Package | Description |
---|---|
org.codehaus.plexus.util.cli |
Modifier and Type | Class and Description |
---|---|
class |
CommandLineTimeOutException |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
CommandLineCallable.call() |
java.lang.Process |
Commandline.execute()
Executes the command.
|
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
java.io.InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr) |
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
java.io.InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr,
int timeoutInSeconds) |
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
StreamConsumer systemOut,
StreamConsumer systemErr) |
static int |
CommandLineUtils.executeCommandLine(Commandline cl,
StreamConsumer systemOut,
StreamConsumer systemErr,
int timeoutInSeconds) |
static CommandLineCallable |
CommandLineUtils.executeCommandLineAsCallable(Commandline cl,
java.io.InputStream systemIn,
StreamConsumer systemOut,
StreamConsumer systemErr,
int timeoutInSeconds)
Immediately forks a process, returns a callable that will block until process is complete.
|
java.lang.String[] |
Commandline.getEnvironmentVariables()
Return the list of environment variables
|
private static void |
CommandLineUtils.handleException(StreamFeeder streamFeeder,
java.lang.String streamName) |
private static void |
CommandLineUtils.handleException(StreamPumper streamPumper,
java.lang.String streamName) |
static java.lang.String |
CommandLineUtils.quote(java.lang.String argument)
|
static java.lang.String |
CommandLineUtils.quote(java.lang.String argument,
boolean wrapExistingQuotes)
|
static java.lang.String |
CommandLineUtils.quote(java.lang.String argument,
boolean escapeSingleQuotes,
boolean escapeDoubleQuotes,
boolean wrapExistingQuotes)
|
static java.lang.String |
Commandline.quoteArgument(java.lang.String argument)
Deprecated.
Use
CommandLineUtils.quote(String) instead. |