Message675

Author nobody
Recipients
Date 2002-06-25.19:52:57
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
executing a external command can hang jython interpretor  
when using os.system  
  
eg. os.system("more file1") causes a hang under jython but  
works under native python.  
  
eg. os system("cat file1") works under both.  
  
Addditionally, output can vary slightly, eg:  
  
file 1 contains: 
 
test text 
 
 
python code:  
  
result = os.system("cat file1")  
print "=-=-=-="  
print result  
  
produces under python 
 
test text 
=-=-=-= 
0 
 
under jython:  
  
test text=-=-=-= 
0 
  
   
Running under Linux - Mandrake 8.2 using    
j2sdk1.3.1-02b-FCS (blackdown) with jython 2.1   
History
Date User Action Args
2008-02-20 17:17:06adminlinkissue573791 messages
2008-02-20 17:17:06admincreate