I was looking at the output of pstree, and realised that processes that I started using dmenu seem to fork from bash.
What is the reasoning behind this? And is there any way I can make dmenu behave like gmrun and other application launchers and only launch the process?
EDIT: The dmenu manpage says that the shell execution behavior is correct for dmenu_run. Figuring out how to not make the shell persist after launching the program is what I am still looking for.