exec
Executes an external command. The closure configures a org.gradle.process.ExecSpec.
Return
the result of the execution
Parameters
closure
The closure for configuring the execution.
Executes an external command.
The given action configures a org.gradle.process.ExecSpec, which is used to launch the process. This method blocks until the process terminates, with its result being returned.
Return
the result of the execution
Parameters
action
The action for configuring the execution.