You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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'
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.
The text was updated successfully, but these errors were encountered: