[GRASS-SVN] r74063 - grass/branches/releasebranch_7_4/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 7 08:17:27 PST 2019


Author: neteler
Date: 2019-02-07 08:17:27 -0800 (Thu, 07 Feb 2019)
New Revision: 74063

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

Modified: grass/branches/releasebranch_7_4/lib/gis/spawn.c
===================================================================
--- grass/branches/releasebranch_7_4/lib/gis/spawn.c	2019-02-07 16:16:05 UTC (rev 74062)
+++ grass/branches/releasebranch_7_4/lib/gis/spawn.c	2019-02-07 16:17:27 UTC (rev 74063)
@@ -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