[GRASS-SVN] r41136 - grass/branches/develbranch_6/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 20 21:08:09 EST 2010


Author: hamish
Date: 2010-02-20 21:08:08 -0500 (Sat, 20 Feb 2010)
New Revision: 41136

Modified:
   grass/branches/develbranch_6/gui/wxpython/wxgui.py
Log:
fix for running g.setproj on WinGrass (trac #945)

Modified: grass/branches/develbranch_6/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/wxgui.py	2010-02-21 00:49:39 UTC (rev 41135)
+++ grass/branches/develbranch_6/gui/wxpython/wxgui.py	2010-02-21 02:08:08 UTC (rev 41136)
@@ -978,7 +978,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