<font size=2 face="sans-serif">I want my python process to access some
environment variables</font>
<br><font size=2 face="sans-serif">in a console launching this command
works</font>
<br><font size=2 face="sans-serif">python -c 'import os; print os.environ["TMPDIR"]'</font>
<br>
<br><font size=2 face="sans-serif">But when zoo execute the python process
it returns an error. Same using getenv()</font>
<br>
<br><font size=2 face="sans-serif">To create the environment variable I
created a .sh in /etc/profile.d/</font>
<br><font size=2 face="sans-serif">and it contains export TMPDIR="/tmp"</font>
<br>
<br><font size=2 face="sans-serif">How can I fix this please?</font>
<br><font size=2 face="sans-serif">thanks</font>
<p>