[GRASS-SVN] r74061 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 7 07:04:59 PST 2019


Author: martinl
Date: 2019-02-07 07:04:59 -0800 (Thu, 07 Feb 2019)
New Revision: 74061

Modified:
   grass/trunk/lib/gis/spawn.c
Log:
libgis: do_spawn() notify which command failed and why

Modified: grass/trunk/lib/gis/spawn.c
===================================================================
--- grass/trunk/lib/gis/spawn.c	2019-02-07 15:03:45 UTC (rev 74060)
+++ grass/trunk/lib/gis/spawn.c	2019-02-07 15:04:59 UTC (rev 74061)
@@ -686,7 +686,7 @@
 	do_bindings(sp->bindings, sp->num_bindings);
 
 	execvp(command, (char **)sp->args);
-	G_warning(_("Unable to execute command"));
+	G_warning(_("Unable to execute command '%s': %s"), command, strerror(errno));
 	_exit(127);
     }
 



More information about the grass-commit mailing list