ProcessRunner |
ProcessRunner.exec() |
Executes the given command as if it had been executed from the command line of the host OS
(cmd.exe on windows, /bin/sh on *nix).
|
ProcessRunner |
ProcessRunner.input(String input) |
Sets the text to be directed into this process' stdin.
|
ProcessRunner |
ProcessRunner.withArg(String arg) |
Adds an argument to the command.
|
ProcessRunner |
ProcessRunner.withCharset(String cs) |
Sets the charset with which to write to this process' input and read its output.
|
ProcessRunner |
ProcessRunner.withCMD() |
The process built up will used CMD.EXE if this is a windows platform.
|
ProcessRunner |
ProcessRunner.withEcho() |
Sets this process' output to be displayed the parent process' stdout and stderr.
|
ProcessRunner |
ProcessRunner.withEnvironmentVariable(String name,
String value) |
Adds a name-value pair into this process' environment.
|
ProcessRunner |
ProcessRunner.withStdErrBuffered() |
Sets this process' stdout stream to be stored in the buffer accessible by getBuffer() .
|
ProcessRunner |
ProcessRunner.withStdErrHandler(OutputHandler stdErrHandler) |
Adds a block to handle lines output this process' stderr.
|
ProcessRunner |
ProcessRunner.withStdOutBuffered() |
Sets this process' stdout stream to be stored in the buffer accessible by getBuffer() .
|
ProcessRunner |
ProcessRunner.withStdOutHandler(OutputHandler stdOutHandler) |
Adds a block to handle lines output this process' stdout.
|
ProcessRunner |
ProcessRunner.withWorkingDirectory(File dir) |
Sets this process' working directory.
|