[GRASS-user] --exec interface not working with a script

Vaclav Petras wenzeslaus at gmail.com
Tue Dec 6 10:47:04 PST 2016


On Tue, Dec 6, 2016 at 12:27 PM, Markus Neteler <neteler at osgeo.org> wrote:

> On Tue, Dec 6, 2016 at 9:55 AM, Veronica Andreo <veroandreo at gmail.com>
> wrote:
> ...
> > It works both with sh test.sh and ./test.sh (@Moritz, yes the +x was
> there)
> >
> > Thanks again! Will send a diff with the example for the manual page.
>
> I have used that diff (thanks) and expanded it for Python. Submitted in
> r70014.
>
> The Python example therein still needs an improvement to find GISBASE.
>

I can also see the comment there

> TODO: how to find GISBASE? must be defined

but I still don't understand. What is the issue with that? GRASS Python
modules don't need to check or directly use GISBASE and this is the same
case.

Does the code in the example run? (It runs for me.)

Vaclav


> Then it should be backported.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20161206/ff19b272/attachment.html>


More information about the grass-user mailing list