Message8137

Author pradeepkumarhs
Recipients amak, fwierzbicki, pradeepkumarhs, thirumalmarugan
Date 2013-09-30.04:22:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1380514939.69.0.803997679107.issue1868@psf.upfronthosting.co.za>
In-reply-to
Content
Please help me in this issue.

FYI.

Problem:
After we move from Jython 2.2.1 to 2.5.2 we are facing the issue were our scripts are not fully running.

Description:
We have Jython scripts in our product and we will run this script through python interrupter via Jython.jar
Previously everything was fine.
But after we install the latest 2.5.2 jython version we are facing this issue.

Jython Code snippet:

Import statements

Declaration

os.system(<some command>);

Followed by our code


till the os.system command everything works fine.After that if we give any print statement its working.But our main code is not working.

If we remove os.system then everything is working fine.
Not sure how os.sytem is impacting our code.

If we execute our code with os.system jythonIntrepter thread ends soon without executing the full code.
No exception has been thrown from Jython.ie) python Intrupter in Jython.jar

Java Code snippet:
   org.python.util.PythonInterpreter.exec(taskScript);     This PythonInterpreter class belongs to jython.jar  
This is not throwing any exception but our scripts are failing in the middle.
1.	old Jython2.2.1  --->  No Issue 
2.	New Jython2.5.2 --> Issue 
 
 
Could you please help me out in finding the issue ?  
 
If you need any further information, please do let me know.
History
Date User Action Args
2013-09-30 04:22:19pradeepkumarhssetmessageid: <1380514939.69.0.803997679107.issue1868@psf.upfronthosting.co.za>
2013-09-30 04:22:19pradeepkumarhssetrecipients: + pradeepkumarhs, fwierzbicki, amak, thirumalmarugan
2013-09-30 04:22:19pradeepkumarhslinkissue1868 messages
2013-09-30 04:22:18pradeepkumarhscreate