Message10382
The issue seems to be in jython 2.5 os.environ you could set an environment variable to be used later by other command in the session. In my case I would use os.environ['ORACLE_HOME'] to set the home and then later run os.system commands that need the ORACLE_HOME set which worked fine in jython 2.5.2 and works in python 2.7 but doesn't seem to work for jython 2.7. I am testing this on RHEL 6.
Follow these steps to reproduce:
jython 2.7
import os
os.environ['TESTING'] = 'VALUEFORTEST'
os.system('env') |
|
Date |
User |
Action |
Args |
2015-10-26 17:54:50 | irairdon | set | recipients:
+ irairdon |
2015-10-26 17:54:50 | irairdon | set | messageid: <1445882090.01.0.271167266908.issue2416@psf.upfronthosting.co.za> |
2015-10-26 17:54:49 | irairdon | link | issue2416 messages |
2015-10-26 17:54:49 | irairdon | create | |
|