Cook the pasta according to package directions, rinse it with cold water and place it in a colander to drain.
Chop the onions and garlic and saute them in olive oil. When tender, add the pasta and spices to them. Remove from the heat and mix with pieces of emmental and chutney.