Message10382

Author irairdon
Recipients irairdon
Date 2015-10-26.17:54:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1445882090.01.0.271167266908.issue2416@psf.upfronthosting.co.za>
In-reply-to
Content
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')
History
Date User Action Args
2015-10-26 17:54:50irairdonsetrecipients: + irairdon
2015-10-26 17:54:50irairdonsetmessageid: <1445882090.01.0.271167266908.issue2416@psf.upfronthosting.co.za>
2015-10-26 17:54:49irairdonlinkissue2416 messages
2015-10-26 17:54:49irairdoncreate