Message675
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 |
|
Date |
User |
Action |
Args |
2008-02-20 17:17:06 | admin | link | issue573791 messages |
2008-02-20 17:17:06 | admin | create | |
|