Peel the potatoes and cut them lengthwise like French fries (or even thinner). Soak them in cold water for about 10-15 minutes. Drain and keep aside. (If using turmeric, sprinkle turmeric and salt on the potatoes and keep them aside for 5-10 minutes, drain well)
Heat the oil in a pan. Add the chilies, followed by the onions. Fry the onions on low heat till they start to caramelize.
Add the potatoes, poppy seeds, salt and mix well. Toss around and fry on high heat for a couple of minutes.
Lower the heat, sprinkle the Kashmiri red chili powder (if using) and mix well
Now cover and cook till the potatoes are almost cooked.
Uncover and finish cooking on medium high heat till potatoes go light brown and crisp.