Kodi Community Forum

Full Version: why does xbmc close/hang when i assign a button in remote.xml to a shellscript
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i altered this file: /usr/share/xbmc/system/keymaps/remote.xml
and added a line to the glaobal section:

<four>System.Exec(sispmctl -o 2)</four>

it should run a shell command (i am on linux) but instead xbmc switches to windowed mode and is unnresponsible.
any thoughts?
You should use a python script to run the system command. System.Exec and System.ExecWait will minimize XBMC.
thank you very much