[GRASS-SVN] r39475 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 10 14:50:25 EDT 2009


Author: cmbarton
Date: 2009-10-10 14:50:24 -0400 (Sat, 10 Oct 2009)
New Revision: 39475

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/gcmd.py
Log:
RunCommand enhanced to return returncode, stdout, and stderr. Used in georect.py

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gcmd.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gcmd.py	2009-10-10 16:34:53 UTC (rev 39474)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gcmd.py	2009-10-10 18:50:24 UTC (rev 39475)
@@ -589,4 +589,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