extend("process")

# Example usage
process:info(info => {
  has_key(info, "pid")
  has_key(info, "username")

  # Optionally check that info["platform"] is "linux" or such
  slog(string:to_string(info))
})

# The callback receives a keyed array with fields like "pid", "uid",
# "username", "platform", "binary_name", and so on.
