<div dir="ltr"><div class="gmail_extra">Hi Andrea,<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">quick but untested answer:<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 21, 2015 at 6:44 PM, Andrea Peri <span dir="ltr"><<a href="mailto:aperi2007@gmail.com" target="_blank">aperi2007@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">grass70 -text -c /path-raster/immagine.tif  /path-grassdata/test_location -e</blockquote></div><br>grass70 -e -c /path-raster/immagine.tif  /path-grassdata/test_location<br><br>According to --help, the Location path must be the last parameter.<br><br>Although now I see that --help might not be precise about path to Location versus path to Mapset in case of -c. Some bash scripts to test this stuff would be needed as well.<br><br>Since you are using this API, keep an eye on what is happening in trunk now:<br><br><a href="http://grass.osgeo.org/grass71/manuals/grass7.html#exec-interface-example">http://grass.osgeo.org/grass71/manuals/grass7.html#exec-interface-example</a><br><a href="https://lists.osgeo.org/pipermail/grass-user/2015-June/072511.html">https://lists.osgeo.org/pipermail/grass-user/2015-June/072511.html</a><br><a href="https://trac.osgeo.org/grass/ticket/2579">https://trac.osgeo.org/grass/ticket/2579</a><br></div></div>