exec

abstract fun exec(configuration: Action<ExecSpec>): 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.