Preheat oven to 375 degrees. Line standard or mini muffin tins with paper liners; coat liners with cooking spray. In a food processor, finely grind shelled pistachios with the sugar and salt. Add butter, vanilla, and eggs: process until smooth. Add flour; pulse until just moistened and combined; do not overmix.