output

Blocks the current thread until Process completion, Output.Options.Builder.timeoutMillis is exceeded, or Output.Options.Builder.maxBuffer is exceeded.

Utilizes the default Output.Options

For a long-running Process, spawn should be utilized.

Return

Output

Throws

if Process creation failed


fun output(block: Output.Options.Builder.() -> Unit): Output(source)

Blocks the current thread until Process completion, Output.Options.Builder.timeoutMillis is exceeded, or Output.Options.Builder.maxBuffer is exceeded.

For a long-running Process, spawn should be utilized.

Return

Output

Parameters

block

lambda to configure Output.Options

See also

Throws

if Process creation failed