chmln / handlr

A better xdg-utils
MIT License
607 stars 24 forks source link

Is there a way to keep terminal busy with `handlr open` until the application is quit? #47

Open Kabouik opened 3 years ago

Kabouik commented 3 years ago

For a script, I would need handlr open to keep the terminal busy while the default application process is still running, so that another command is run when the process is terminated. xdg-open does this, but it seems handlr open immediately detaches the terminal from the application. I have tried using handlr open "$@" & in my ~/.local/bin/xdg-open replacement for vanilla /usr/bin/xdg-open, but that did not help.

Kabouik commented 2 years ago

I just realized that solving this would probably solve #13, and vice versa, as both issues are probably related to some extent.