# File lib/net/ssh/connection/channel.rb, line 372
    def on_process(&block)
      old, @on_process = @on_process, block
      old
    end