| Package | Description |
|---|---|
| org.codehaus.plexus.util.cli |
| Modifier and Type | Class | Description |
|---|---|---|
class |
CommandLineTimeOutException |
| Modifier and Type | Method | 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
|
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. |