[GRASS-SVN] r43523 - grass/branches/develbranch_6/display/d.mon/cmd

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 19 19:40:23 EDT 2010


Author: hamish
Date: 2010-09-19 23:40:23 +0000 (Sun, 19 Sep 2010)
New Revision: 43523

Modified:
   grass/branches/develbranch_6/display/d.mon/cmd/main.c
Log:
attempt to allow 'd.mon -L' to run cleanly on WinGrass

Modified: grass/branches/develbranch_6/display/d.mon/cmd/main.c
===================================================================
--- grass/branches/develbranch_6/display/d.mon/cmd/main.c	2010-09-19 23:31:43 UTC (rev 43522)
+++ grass/branches/develbranch_6/display/d.mon/cmd/main.c	2010-09-19 23:40:23 UTC (rev 43523)
@@ -155,7 +155,7 @@
 
     sprintf(command, "\"%s\"/etc/mon.%s %s", G_gisbase(), pgm, name);
 
-    G_debug(1, "run: %s", command);
+    G_debug(1, "run: [%s]", command);
 
-    return system(command);
+    return G_system(command);
 }



More information about the grass-commit mailing list