It doesn't work.
"bash -c gmusicbrowser >$HOME/.gmusicbrowser_out.txt 2>&1" works correctly in terminal, but does nothing if used in a launcher, except creating the specified file with one line:
For that matter, the parent process shown is init, not bash - it looks like gmusicbrowser relaunches itself, losing those redirections in process?
Strangely enough, the same line does work with sh instead of bash! :o
"bash -c gmusicbrowser >$HOME/.gmusicbrowser_out.txt 2>&1" works correctly in terminal, but does nothing if used in a launcher, except creating the specified file with one line:
QuoteFound a running instance (using '/home/[...]/.config/gmusicbrowser/gmusicbrowser.fifo')Naturally, there's no gmusicbrowser in process list, and ~/.config/gmusicbrowser/gmusicbrowser.fifo does not exist before or after the run.
For that matter, the parent process shown is init, not bash - it looks like gmusicbrowser relaunches itself, losing those redirections in process?
Strangely enough, the same line does work with sh instead of bash! :o