Fry the onion in oil over medium heat until soft. Add the potato. When the potato is almost brown, add the green beans. Cover and reduce heat to low. Fry for 10 minutes more or until soft. Add salt, cumin, tumeric, and chili powder.