Mix the butter, cornstarch, sugar and vanilla together. Then stir in the eggs one at a time.
Mix the flour, oatmeal, baking powder and baking soda in another bowl, then stir into the batter. Now fold in the chocolate and pistachios and place the dough teaspoon at a time on a baking sheet lined with baking paper.