static ProcessExecutor |
ProcessExecutor.forExecutable(java.lang.String executable) |
Specifies the executable to run.
|
ProcessExecutor |
ProcessExecutor.send(java.lang.String string) |
Sends some input to the external process.
|
ProcessExecutor |
ProcessExecutor.start() |
Launches the external process and starts collecting its output (which can be analyzed by calling
getStdout() and getStderr() .
|
ProcessExecutor |
ProcessExecutor.waitForCompletion() |
Waits for the completion of the external process.
|
ProcessExecutor |
ProcessExecutor.withArgument(java.lang.String argument) |
Specifies a single argument for the executable.
|
ProcessExecutor |
ProcessExecutor.withArguments(java.lang.String... arguments) |
Specifies some arguments for the executable.
|
ProcessExecutor |
ProcessExecutor.withWorkingDirectory(java.nio.file.Path workingDirectory) |
Specifies the working directory for the executable.
|