[GRASS-SVN] r41137 - grass/branches/releasebranch_6_4/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 20 21:12:27 EST 2010


Author: hamish
Date: 2010-02-20 21:12:27 -0500 (Sat, 20 Feb 2010)
New Revision: 41137

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py
Log:
fix for running g.setproj on WinGrass (trac #945; merge from devbr6)

Modified: grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py	2010-02-21 02:08:08 UTC (rev 41136)
+++ grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py	2010-02-21 02:12:27 UTC (rev 41137)
@@ -1010,7 +1010,7 @@
         
         if sys.platform == "win32":
             runbat = os.path.join(gisbase,'etc','grass-run.bat')
-            cmdlist = ["cmd.exe", "/c", 'start "%s"' % runbat, command]
+            cmdlist = ["start", runbat, runbat, command]
         else:
             if sys.platform == "darwin":
                 xtermwrapper = os.path.join(gisbase,'etc','grass-xterm-mac')



More information about the grass-commit mailing list