abstract fun exec(closure: Closure<Any>): ExecResult
Executes an external command. The closure configures a org.gradle.process.ExecSpec.
closure
- The closure for configuring the execution.
Return
the result of the execution
abstract fun exec(action: Action<in ExecSpec>): ExecResult
Executes an external command.
action
- The action for configuring the execution.
Return
the result of the execution