| Package | Description |
|---|---|
| org.codehaus.plexus.util.cli |
| Modifier and Type | Class and Description |
|---|---|
static class |
CommandLineUtils.StringStreamConsumer
A
StreamConsumer providing consumed lines as a String. |
class |
DefaultConsumer |
class |
WriterStreamConsumer |
| Modifier and Type | Field and Description |
|---|---|
private StreamConsumer |
StreamPumper.consumer |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
StreamPumper(java.io.InputStream in,
java.io.PrintWriter writer,
StreamConsumer consumer) |
StreamPumper(java.io.InputStream in,
StreamConsumer consumer) |