def metadata
      begin
        process_output(command)
      rescue UnexpectedExitError => e
        case e.exit_code