Biont / sway-launcher-desktop

TUI Application launcher with Desktop Entry support. Made for SwayWM, but runs anywhere
GNU General Public License v3.0
606 stars 28 forks source link

Leaving bash open #48

Closed Mathew-D closed 2 years ago

Mathew-D commented 3 years ago

Hello, should it be leaving a process open for each program launched? Until I close the program I get a lot of: bash /usr/bin/sway-launcher-desktop run-desktop

In my px ux. One for each of my open GUI application that runs from the launcher.

I am using: set $term termite set $menu exec $term --class=launcher -e sway-launcher-desktop I even tried kitty and got the same result. Any help would be great.

Biont commented 3 years ago

Hm yeah I never noticed that. This is not deliberate, but I also don't know if it is bad. Looks like it's just dangling there because it is not fully detached from the child process it started and basically just waits for it to finish at this line.

If I find a way to prevent this from happening, I will fix it. And I'll happily accept a PR for this as well!