Message8132
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()
---------------------------------------------------------------------- |
|
Date |
User |
Action |
Args |
2013-09-27 11:17:20 | pradeepkumarhs | set | messageid: <1380280640.87.0.290927143807.issue1868@psf.upfronthosting.co.za> |
2013-09-27 11:17:20 | pradeepkumarhs | set | recipients:
+ pradeepkumarhs, fwierzbicki, amak, thirumalmarugan |
2013-09-27 11:17:20 | pradeepkumarhs | link | issue1868 messages |
2013-09-27 11:17:19 | pradeepkumarhs | create | |
|