# File lib/capistrano/configuration/actions/invocation.rb, line 145 def run(cmd, options={}, &block) block ||= self.class.default_io_proc tree = Command::Tree.new(self) { |t| t.else(cmd, &block) } run_tree(tree, options) end