From: yanne <re...@bu...> - 2009-08-14 12:09:05
|
New submission from yanne <jt...@ri...>: Jython 2.5.0 (Release_2_5_0:6476, Jun 16 2009, 13:33:26) [Java HotSpot(TM) Server VM (Sun Microsystems Inc.)] on java1.6.0_14 Type "help", "copyright", "credits" or "license" for more information. >>> import os >>> p = os.popen('ls nonexisting') >>> ls: cannot access nonexisting: No such file or directory >>> print p.close() None Jython 2.2 on java1.6.0_14 Type "copyright", "credits" or "license" for more information. >>> import os >>> p = os.popen('ls nonexisting') >>> print p.close() 2 ---------- messages: 5024 nosy: yanne severity: normal status: open title: Cannot get return code from a process started with os.popen with Jython 2.5 (worked in 2.2) _______________________________________ Jython tracker <re...@bu...> <http://bugs.jython.org/issue1434> _______________________________________ |