First off, thanks for writing this! So much better than running an XQuartz port of dmenu.
Anyway, I've found that when running dmenu-mac without any arguments (as an application launcher), the process doesn't exit after launching the selected application. I did some digging after opening my activity monitor showed ~100 dmenu-mac processes.

(It's a little difficult to see but, if you look at the terminal you can see it blocking after selecting "Activity Monitor" on the second run)
I'm assuming this isn't the intended behavior as when piping options to dmenu, it exits as soon as something is selected.
EDIT: after reading this code in the SearchViewController, I see that hiding the application instead of exiting is intended? You can consider this issue a "feature request" for a flag that closes after a selection is made. I'll put a PR up 😄
First off, thanks for writing this! So much better than running an XQuartz port of dmenu.
Anyway, I've found that when running
dmenu-macwithout any arguments (as an application launcher), the process doesn't exit after launching the selected application. I did some digging after opening my activity monitor showed ~100dmenu-macprocesses.(It's a little difficult to see but, if you look at the terminal you can see it blocking after selecting "Activity Monitor" on the second run)
I'm assuming this isn't the intended behavior as when piping options to dmenu, it exits as soon as something is selected.
EDIT: after reading this code in the SearchViewController, I see that hiding the application instead of exiting is intended? You can consider this issue a "feature request" for a flag that closes after a selection is made. I'll put a PR up 😄