I solved this issue in the following way
Directory: /home/osmc/.kodi/addons/plugin.program.retropie-launcher/
File: 'addon.py'
Workaround: importing and making use of the module 'subprocess' instead of 'os'
Detail
The edited line that calls the retropie.sh script is:
output = subprocess.call(["/home/osmc/RetroPie/scripts/retropie.sh"], shell = True)
I do want to find a more secure way of doing this. Apparently 'shell = True' is not good for security. But at the moment this is a good workaround for me. Hope it helps.
I solved this issue in the following way Directory: /home/osmc/.kodi/addons/plugin.program.retropie-launcher/ File: 'addon.py' Workaround: importing and making use of the module 'subprocess' instead of 'os'
I do want to find a more secure way of doing this. Apparently 'shell = True' is not good for security. But at the moment this is a good workaround for me. Hope it helps.