# File lib/capistrano/recipes/deploy/strategy/remote.rb, line 28 def scm_run(command) run(command) do |ch,stream,text| ch[:state] ||= { :channel => ch } output = source.handle_data(ch[:state], stream, text) ch.send_data(output) if output end end