[GRASS-SVN] r74062 - grass/branches/releasebranch_7_6/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Feb 7 08:16:05 PST 2019
Author: neteler
Date: 2019-02-07 08:16:05 -0800 (Thu, 07 Feb 2019)
New Revision: 74062
Modified:
grass/branches/releasebranch_7_6/lib/gis/spawn.c
Log:
libgis: do_spawn() notify which command failed and why (trunk, r74061)
Modified: grass/branches/releasebranch_7_6/lib/gis/spawn.c
===================================================================
--- grass/branches/releasebranch_7_6/lib/gis/spawn.c 2019-02-07 15:04:59 UTC (rev 74061)
+++ grass/branches/releasebranch_7_6/lib/gis/spawn.c 2019-02-07 16:16:05 UTC (rev 74062)
@@ -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