2014-04-11, 07:30
Hi, I'm not the most knowledgeable about threading in python to start with. I'm working on an addon that launches some subprocesses using subprocess.call. In the script I'm running with subprocess I would like to be able to import some xbmc modules such as xbmcaddon. From my understanding these modules are only available to xbmc itself. Is there anyway around this? Could I run the subprocesses differently and have it available? The addon I'm working on is a service and in my main service.py I'm importing xbmc python modules and using them just fine. It's only in its subprocess scripts where I'm running into a brick wall. Thanks in advance for any advice.