2014-03-22, 06:18
I'm running XBMC in Arch Linux in my main media center. I'm trying to get emulators and other apps to play nicely with XBMC without having a full blown DE installed. I put together a little bash script that will stop XBMC, launch the app that I want, then open XBMC once that app has exited. The script runs GREAT if XBMC is not running. The issue is that if the script is called from within XBMC through Advanced Launcher, as soon as the script stops XBMC, the scripts stops executing as well.
I tried splitting the script in two, running the first from XBMC and having that one call the second script through tmux (which normally allows me to keep a terminal session open even after I exit the ssh session) and that also gets killed. It seems that ALL processes that were started through XBMC get killed. While that normally sounds like a great idea, in this case, it is causing problems. Does anyone know how to get around this?
I tried splitting the script in two, running the first from XBMC and having that one call the second script through tmux (which normally allows me to keep a terminal session open even after I exit the ssh session) and that also gets killed. It seems that ALL processes that were started through XBMC get killed. While that normally sounds like a great idea, in this case, it is causing problems. Does anyone know how to get around this?