[GRASS-user] Add-Ons and batch job with the --exec interface

Vincent Bain bain at toraval.fr
Sun Dec 20 03:01:16 PST 2020


Hi dear Grass users,

I'm wondering how/if one can run an Add-On command while invoking grass
from the --exec interface.

As an example, if I run :

   grass79 /path/to/my/location/mapset --exec g.list rast

I succeed.

As well as checking my GRASS_ADDON_PATH :

   echo $GRASS_ADDON_PATH
   /usr/local/grass-addons/

   But :

   grass79 /path/to/my/location/mapset --exec r.my.addon

   fails :

   [Errno 2] No such file or directory: 'r.my.addon': 'r.my.addon'
   Exiting...


   Would anyone help me solve this issue ?
   Have a nice sunday,

   Vincent.



More information about the grass-user mailing list