To allow for shell expressions is a neat thing, and if you don't need them, I can provide you with a patch. I did look into this topic another time, actually. I think I had modified dmenu_run to use exec in some way on one of my installations, but I appear to have currently misplaced it.
cheers! mar77i
