Executes an external command.
This method blocks until the process terminates, with its result being returned.
The result of the execution.
The block to use to configure the ExecSpec.