Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If symbolic links are used and affect retropie.sh, kodi launcher add-on does not work anymore #17

Open
dnk8n opened this issue Jan 23, 2016 · 0 comments

Comments

@dnk8n
Copy link

dnk8n commented Jan 23, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant