Message9248
execution on HPUX
Jython 2.7b3 (default:e81256215fb0, Aug 4 2014, 02:39:51)
[Java HotSpot(TM) Server VM (xyz)] on java1.7.0.09
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.system("ls")
255
>>>
execution on RHEL 5.8
Jython 2.7b3 (default:e81256215fb0, Aug 4 2014, 02:39:51)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_60
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.system("ls")
jython.sh west.py
0
>>>
same code is working on linux but not working on hpux. It returns with code 255 for any of the command tried to run using OS.system(). |
|
Date |
User |
Action |
Args |
2014-12-18 08:28:36 | shishir | set | recipients:
+ shishir |
2014-12-18 08:28:36 | shishir | set | messageid: <1418891316.33.0.342446846808.issue2238@psf.upfronthosting.co.za> |
2014-12-18 08:28:36 | shishir | link | issue2238 messages |
2014-12-18 08:28:35 | shishir | create | |
|