api / org.gradle.kotlin.dsl / SettingsScriptApi / exec

exec

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

Executes an external command.

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

Parameters

configuration - The block to use to configure the ExecSpec.

Return
The result of the execution.