# File lib/net/ssh/shell/process.rb, line 113
    def finished!(status)
      @state = :finished
      @exit_status = status.to_i
      @on_finish.call(self) if @on_finish
      manager.child_finished(self)
    end