exec

abstract fun exec(action: Action<in ExecSpec>): ExecResult(source)

Executes the specified external process. The given action is used to configure an ExecSpec, which is then used to run an external process.

Return

ExecResult that can be used to check if the execution worked

Parameters

action

Action to configure the ExecSpec