module Sensu::Spawn

Intercepts github.com/sensu/sensu-spawn/blob/master/lib/sensu/spawn.rb

Public Class Methods

process(command, options={}, &callback) click to toggle source

See github.com/sensu/sensu-spawn/blob/master/lib/sensu/spawn.rb#L22

@param [String] command to run. @param [Hash] options to create a child process with. @param [Proc] IGNORED @return [Array] stdout, exit code

# File lib/sensu-run-check/runner.rb, line 19
def process(command, options={}, &callback)
  child_process(command, options)
end