[GRASS-SVN] r39569 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 18 23:43:44 EDT 2009


Author: cmbarton
Date: 2009-10-18 23:43:43 -0400 (Sun, 18 Oct 2009)
New Revision: 39569

Modified:
   grass/trunk/gui/wxpython/gui_modules/gcmd.py
Log:
Backport from r39475 in develbranch_6. Enhanced RunCommand to return returncode, stdout, and stderr.


Modified: grass/trunk/gui/wxpython/gui_modules/gcmd.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gcmd.py	2009-10-19 02:50:26 UTC (rev 39568)
+++ grass/trunk/gui/wxpython/gui_modules/gcmd.py	2009-10-19 03:43:43 UTC (rev 39569)
@@ -594,4 +594,7 @@
     if not getErrorMsg:
         return stdout
     
+    if read and getErrorMsg:
+        return ret, stdout, stderr
+    
     return stdout, stderr



More information about the grass-commit mailing list