[GRASS-SVN] r40195 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jan 2 10:08:09 EST 2010
Author: martinl
Date: 2010-01-02 10:08:09 -0500 (Sat, 02 Jan 2010)
New Revision: 40195
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/gcmd.py
Log:
glynn: Don't wait() for process; communicate() deals with that
(merge r40169 from trunk)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gcmd.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gcmd.py 2010-01-02 15:06:16 UTC (rev 40194)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gcmd.py 2010-01-02 15:08:09 UTC (rev 40195)
@@ -562,10 +562,10 @@
ps.stdin.write(stdin)
ps.stdin.close()
ps.stdin = None
-
- ret = ps.wait()
stdout, stderr = ps.communicate()
+
+ ret = ps.returncode
if ret != 0 and parent:
e = CmdError(cmd = prog,
More information about the grass-commit
mailing list