in chefctl/src/chefctl.rb [450:456]
def shell_output(command) ps = Mixlib::ShellOut.new(command) yield(ps) if block_given? ps.run_command.error! ps.stdout end