Skip to content

dmenu doesn't exit after selecting an application #37

@0xch4z

Description

@0xch4z

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.

bug
(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 😄

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions