Project: appceleratorstudio
Issue TISTUD-1959: PATH environment variable incorrect in python compiler plugins
h2. Problem When attempting to get the PATH environment variable while executing a python compiler plugin, the PATH is incorrect. It does not include the user's current PATH, it only shows the following: {code}/usr/bin:/bin:/usr/sbin:/sbin{code} This makes it difficult for the compiler plugin to execute programs that are on the developer's PATH. h2. Test Case *plugins/path.test/plugin.py* {code:python} import os def compile(config): print os.environ['PATH'] {code} *tiapp.xml* {code:xml} path.test {code} The output of the above can be found in the console log. Every time I run it, I get the same result, which does not reflect my full PATH variable: {code} [INFO] Detected compiler plugin: path.test/1.0 /usr/bin:/bin:/usr/sbin:/sbin {code} h2. Expected Behavior The above should output my current full PATH variable contents
Story points: 8