You are not logged in.
Pages: 1
Hello everyone,
as of recently, I haven't been able to run any electron apps.
The only way to run them is by running them inside of a console.
Disowning them inside of that console also doesn't work.
That just throws an error message.
This error also never closes.
When you press 'ok' it just opens another instance of that window.
The only way to get rid of this is by killing the program instance.
The error above was an example with discord,
but this also happens with apps like Postman or Insomnia.
Journalctl shows nothing and (in this case the Discord logs) also show nothing.
Does anyone have an idea what the issue might be?
Thanks in advance!
Offline
Since the error is from console.log and running inside an interactive shell works I'd say it's because the process cannot handle a closed stdout, but disown'ing doesn't change that (at least on reasonable shells - do you use fish or so?)
Can you "discord > /dev/null 2>&1 &" and then disown process?
Offline
Since the error is from console.log and running inside an interactive shell works I'd say it's because the process cannot handle a closed stdout, but disown'ing doesn't change that (at least on reasonable shells - do you use fish or so?)
Can you "discord > /dev/null 2>&1 &" and then disown process?
That seems to work fine!
I use zsh for my shell.
Last edited by Libroru (2025-10-19 08:43:06)
Offline
type -a disown(I'm a bit confused about disowning resulting in a loss of the stdout)
But you'll likely be able to leverage that into a workaround by shadowing the desktop service, https://wiki.archlinux.org/title/Deskto … ktop_files
Offline
Pages: 1