Hi all,
I’m trying to use the xbmc.executebuiltin command in a Python script (i.e. launched from from the Programs submenu) to run ExecWait passing a command. Kodi minimises but does not launch the command, and there is no logging or information (even in Debug mode) to explain why.
I’m running as:
Code:
xbmc.executebuiltin('System.Exec(/Applications/RetroArch.app/Contents/MacOS/RetroArch)')
Running from a command-line works successfully.
I’ve tried wrapping the command in quotes, e.g.
Code:
xbmc.executebuiltin('System.Exec(\"/Applications/RetroArch.app/Contents/MacOS/RetroArch\")')
but this too was unsuccessful.
Any feedback or guidance, as to whether this was the preferred way to launch external commands, and whether this is known to work on OSX?
Also, I am running as a script, not an addon – not sure if this is significant or not.