Starts the process represented by this builder, blocks until it exits, and returns the exit code.
Starts the process represented by this builder, blocks until it exits, and returns the exit code. Standard output and error are sent to the given ProcessLogger.
Starts the process represented by this builder, blocks until it exits, and returns the exit code.
Starts the process represented by this builder, blocks until it exits, and returns the exit code. Standard output and error are sent to the console.
Starts the process represented by this builder, blocks until it exits, and returns the output as a String.
Starts the process represented by this builder, blocks until it exits, and returns the output as a String. Standard error is sent to the provided ProcessLogger. If the exit code is non-zero, an exception is thrown.
Starts the process represented by this builder, blocks until it exits, and returns the output as a String.
Starts the process represented by this builder, blocks until it exits, and returns the output as a String. Standard error is sent to the console. If the exit code is non-zero, an exception is thrown.
Starts the process represented by this builder, blocks until it exits, and returns the exit code.
Starts the process represented by this builder, blocks until it exits, and returns the exit code. Standard output and error are sent to the given ProcessLogger. The newly started process reads from standard input of the current process.
Starts the process represented by this builder, blocks until it exits, and returns the exit code.
Starts the process represented by this builder, blocks until it exits, and returns the exit code. Standard output and error are sent to the console. The newly started process reads from standard input of the current process.
Constructs a command that will run this command and then other
.
Constructs a command that will run this command and then other
. The exit code will be the exit code of other
.
Constructs a command that runs this command first and then other
if this command succeeds.
Constructs a command that will run this command and pipes the output to other
.
Constructs a command that will run this command and pipes the output to other
. other
must be a simple command.
Constructs a command that runs this command first and then other
if this command does not succeed.
Starts the process represented by this builder.
Starts the process represented by this builder. The output is returned as a Stream that blocks when lines are not available but the process has not completed. Standard error is sent to the provided ProcessLogger. If the process exits with a non-zero value, the Stream will provide all lines up to termination but will not throw an exception.
Starts the process represented by this builder.
Starts the process represented by this builder. The output is returned as a Stream that blocks when lines are not available but the process has not completed. Standard error is sent to the console. If the process exits with a non-zero value, the Stream will provide all lines up to termination and then throw an exception.
Starts the process represented by this builder.
Starts the process represented by this builder. The output is returned as a Stream that blocks when lines are not available but the process has not completed. Standard error is sent to the provided ProcessLogger. If the process exits with a non-zero value, the Stream will provide all lines up to termination but will not throw an exception.
Starts the process represented by this builder.
Starts the process represented by this builder. The output is returned as a Stream that blocks when lines are not available but the process has not completed. Standard error is sent to the console. If the process exits with a non-zero value, the Stream will provide all lines up to termination but will not throw an exception.
Starts the process represented by this builder, blocks until it exits, and returns the exit code.
Starts the process represented by this builder, blocks until it exits, and returns the exit code. Standard output and error are
sent to the given ProcessLogger.
The newly started process reads from standard input of the current process if connectInput
is true.
Starts the process represented by this builder.
Starts the process represented by this builder. Standard output and error are sent to the console.
The newly started process reads from standard input of the current process if connectInput
is true.
Starts the process represented by this builder.
Starts the process represented by this builder. I/O is handled by the given ProcessIO instance.
Starts the process represented by this builder.
Starts the process represented by this builder. Standard output and error are sent to the given ProcessLogger.
Starts the process represented by this builder.
Starts the process represented by this builder. Standard output and error are sent to the console.
Reads the given InputStream into the input stream of this process.
Reads the given InputStream into the input stream of this process. The argument is call-by-name, so the stream is recreated, read, and closed each time this process is executed.
Reads the given URL into the input stream of this process.
Reads the given URL into the input stream of this process.
Reads the given file into the input stream of this process.
Reads the given file into the input stream of this process.
Writes the output stream of this process to the given OutputStream.
Writes the output stream of this process to the given OutputStream. The argument is call-by-name, so the stream is recreated, written, and closed each time this process is executed.
Writes the output stream of this process to the given file.
Writes the output stream of this process to the given file.
Appends the output stream of this process to the given file.
Appends the output stream of this process to the given file.
Represents a runnable process.