Python POpen - works on Win, OE/Linux but not OSX - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: Python POpen - works on Win, OE/Linux but not OSX (/showthread.php?tid=123613) |
Python POpen - works on Win, OE/Linux but not OSX - bossanova808 - 2012-02-22 The following code: Code: if constants.SYSTEM=="Windows": ...where 'exe' is a list containing the appropriate squeezeslave binary and arguments, works fine on Windows, Ubuntu, and Openelec. It fails with IOError: No Child Processes ...on OSX. However, this code, later, works: Code: if constants.SYSTEM=="Windows": I am not an expert on (anything, including...) Python/Process Spawning - is there a better platform friendly way to do this (spawn a process and grad stdout from it)? I have found some odd stuff in Python in this area (e.g. os.system("chmod +X") works but os.chmod(file) does not!) - bossanova808 - 2012-03-08 Bump - any Mac people have any ideas about this?? |