code: def action_run_command(self):
          
  
          name = self.args['<name>']
  
          # get entry from DB
          self.db_query('''
              SELECT path,command FROM shortcuts WHERE name=?
              ''', (name,))
  
          row = self.db_fetch_one()
  
          if row is None:
              print_err('Shortcut "%s" does not exist.' % name)
              return
  
          path = row[0]
          cmd = row[1]
  
          # show message
          msg = colored('JumpRun shortcut', 'white', attrs=['bold']) + '\n' + \
              self.shortcut_str(path, cmd) + '\n'
          print(msg)
  
          # cd to the folder & run the command
          os.chdir(path)
  
          try:
              subprocess.call(cmd, shell=True)
          except KeyboardInterrupt:
              print('')  # newline
              return
docs: Run a shortcut, if exists