We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
xdg-open will fork a new process in XFCE but won't fork in Awesome Wm. I modified to my /usr/share/fish/functions/open.fish as follow to make open/xdg-open fork a new process.
for i in $argv
xdg-open $i &disown
Not sure if checking XDG_SESSION_DESKTOP to determine whether to disown would help.
The text was updated successfully, but these errors were encountered:
I feel like whatever xdg-open is calling here is at fault - these things fork off new processes everywhere else, so this should as well.
Regardless, it's probably okay to just unconditionally background and disown these.
Sorry, something went wrong.
Ah, okay, it's xdg-open's "generic" path causing the issue.
It's already open upstream as a bug - https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/158. No reaction in 9 months, development appears to essentially be dead, with one commit in the last 13 months.
Yeah, let's work around it.
Thank you for accepting this change request.
Just out of curiosity, setsid foo does essentially the same as foo & disown but I'm not sure if it is available on non-Linux?
foo & disown
The setsid command will not be available outside of linux, no.
(also if disown weren't fit for this we should fix it, this is its job)
No branches or pull requests