public interface CommandRunner
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Clean up any resources that were acquired to execute shell commands.
|
void |
initialize()
Initialization required before executing a command.
|
int |
runCommand(List<String> args,
InputStream stdIn,
OutputStream stdOut,
OutputStream stdErr)
Run the specified command.
|
void initialize()
throws IOException
IOException - thrown if any errors occurint runCommand(List<String> args, InputStream stdIn, OutputStream stdOut, OutputStream stdErr) throws IOException
args - list of arguments for the command line executionstdIn - input stream used as standard instdOut - output stream that captures standard outstdErr - output stream that captures standard errIOException - thrown if any errors occurvoid dispose()
throws IOException
IOException - thrown if any errors occurCopyright © 2016 Actian Corporation. All rights reserved.