Package | Description |
---|---|
org.apache.commons.exec |
Modifier and Type | Class and Description |
---|---|
class |
PumpStreamHandler
Copies standard output and error of sub-processes to standard output and error
of the parent process.
|
Modifier and Type | Field and Description |
---|---|
private ExecuteStreamHandler |
DefaultExecutor.streamHandler
taking care of output and error stream
|
Modifier and Type | Method and Description |
---|---|
ExecuteStreamHandler |
Executor.getStreamHandler()
Get the StreamHandler used for providing input and
retrieving the output.
|
ExecuteStreamHandler |
DefaultExecutor.getStreamHandler() |
Modifier and Type | Method and Description |
---|---|
private int |
DefaultExecutor.executeInternal(CommandLine command,
java.util.Map<java.lang.String,java.lang.String> environment,
java.io.File dir,
ExecuteStreamHandler streams)
Execute an internal process.
|
void |
Executor.setStreamHandler(ExecuteStreamHandler streamHandler)
Set a custom the StreamHandler used for providing
input and retrieving the output.
|
void |
DefaultExecutor.setStreamHandler(ExecuteStreamHandler streamHandler) |