[GRASS-SVN] r49584 - grass/trunk/gui/wxpython/core

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 6 19:50:48 EST 2011


Author: martinl
Date: 2011-12-06 16:50:48 -0800 (Tue, 06 Dec 2011)
New Revision: 49584

Modified:
   grass/trunk/gui/wxpython/core/gcmd.py
Log:
wxGUI: report OSError when running command


Modified: grass/trunk/gui/wxpython/core/gcmd.py
===================================================================
--- grass/trunk/gui/wxpython/core/gcmd.py	2011-12-07 00:29:02 UTC (rev 49583)
+++ grass/trunk/gui/wxpython/core/gcmd.py	2011-12-07 00:50:48 UTC (rev 49584)
@@ -524,8 +524,10 @@
                                 stdout = subprocess.PIPE,
                                 stderr = subprocess.PIPE,
                                 shell = sys.platform == "win32")
+            
         except OSError, e:
             self.error = str(e)
+            print >> sys.stderr, e
             return 1
         
         if self.stdin: # read stdin if requested ...



More information about the grass-commit mailing list