class ProcessExecuter::Runner
def call(command, options)
-
(ProcessExecuter::Result)
- The result of the completed subprocess
Parameters:
-
options
(ProcessExecuter::Options::RunOptions
) -- Options for running the command -
command
(Array
) -- The command to run
def call(command, options) spawn(command, options).tap { |result| process_result(result) } end