[GRASS-SVN] r43526 - grass/branches/releasebranch_6_4/display/d.mon/cmd

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 19 20:19:50 EDT 2010


Author: hamish
Date: 2010-09-20 00:19:50 +0000 (Mon, 20 Sep 2010)
New Revision: 43526

Modified:
   grass/branches/releasebranch_6_4/display/d.mon/cmd/main.c
Log:
attempt to allow 'd.mon -L' to run cleanly on WinGrass (merge from devbr6; may be a no-op, but a step in the right direction anyway)

Modified: grass/branches/releasebranch_6_4/display/d.mon/cmd/main.c
===================================================================
--- grass/branches/releasebranch_6_4/display/d.mon/cmd/main.c	2010-09-19 23:49:54 UTC (rev 43525)
+++ grass/branches/releasebranch_6_4/display/d.mon/cmd/main.c	2010-09-20 00:19:50 UTC (rev 43526)
@@ -153,5 +153,8 @@
     char command[1024];
 
     sprintf(command, "\"%s/etc/mon.%s\" %s", G_gisbase(), pgm, name);
-    return system(command);
+
+    G_debug(1, "run: [%s]", command);
+
+    return G_system(command);
 }



More information about the grass-commit mailing list