Object
# File lib/cocaine/command_line/runners/process_runner.rb, line 17 def call(command, env = {}, options = {}) input, output = IO.pipe options[:out] = output with_modified_environment(env) do pid = spawn(env, command, options) output.close result = input.read waitpid(pid) input.close result end end
Generated with the Darkfish Rdoc Generator 2.