In a food processor, combine the flour, baking powder, and salt. Add the butter and pulse a few seconds at a time, until the mixture is the size of peas. Add the egg and vinegar and pulse again until the dough just begins to form. Remove the dough from the processor and form into a disc with your hands.