class Terrapin::CommandLine::PopenRunner
def self.supported?
def self.supported? true end
def call(command, env = {}, options = {})
def call(command, env = {}, options = {}) with_modified_environment(env) do IO.popen(command, "r", options) do |pipe| Output.new(pipe.read) end end end
def supported?
def supported? self.class.supported? end
def with_modified_environment(env, &block)
def with_modified_environment(env, &block) ClimateControl.modify(env, &block) end