# File lib/heroku/command/run.rb, line 32
  def console
    app = extract_app
    cmd = args.join(' ').strip
    if cmd.empty?
      console_session(app)
    else
      display heroku.console(app, cmd)
    end
  rescue RestClient::RequestTimeout
    error "Timed out. Long running requests are not supported on the console.\nPlease consider creating a rake task instead."
  rescue Heroku::Client::AppCrashed => e
    error e.message
  end