Message8132

Author pradeepkumarhs
Recipients amak, fwierzbicki, pradeepkumarhs, thirumalmarugan
Date 2013-09-27.11:17:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1380280640.87.0.290927143807.issue1868@psf.upfronthosting.co.za>
In-reply-to
Content
what is a change in behavior of os.system() call in jython 2.2.1 and 2.5.2

Our scripts fail in 2.5.2 but works fine in 2.2.1, so there is some change in the behavior/internal implementation.

Code Snippet is has follows:
-----------------------------------------------------------------

class NULLpointer:

import os
import re
import string
import time
from com.ericsson.nms.umts.cnos.config.activitysupport.maaPlugin import MaaPlugin
from java.lang import *

maaPlugin = MaaPlugin(node)
maaPlugin.reportProgress(10)
maaPlugin.start()           //Its running in a "Tread"
maaPlugin.putInLog("CACLP from shell /tmp/caclp.sh "+node)
res=os.system("/tmp/caclp.sh "+node)
maaPlugin.end()
maaPlugin = MaaPlugin(node)
maaPlugin.start()  //After system call Tread is changing to main tread. 
maaPlugin.reportProgress(90)
maaPlugin.end() 

----------------------------------------------------------------------
History
Date User Action Args
2013-09-27 11:17:20pradeepkumarhssetmessageid: <1380280640.87.0.290927143807.issue1868@psf.upfronthosting.co.za>
2013-09-27 11:17:20pradeepkumarhssetrecipients: + pradeepkumarhs, fwierzbicki, amak, thirumalmarugan
2013-09-27 11:17:20pradeepkumarhslinkissue1868 messages
2013-09-27 11:17:19pradeepkumarhscreate