exec

fun exec(configuration: ExecSpec.() -> Unit): ExecResult(source)

Executes an external command.

This method blocks until the process terminates, with its result being returned.

Return

The result of the execution.

Parameters

configuration

The block to use to configure the ExecSpec.