[GRASS-user] Calling GRASS scripts from GRASS C modules

Markus Neteler neteler at osgeo.org
Tue Mar 22 03:45:28 EDT 2011


On Tue, Mar 22, 2011 at 3:26 AM, Glynn Clements
<glynn at gclements.plus.com> wrote:
...
> 7.0 has G_popen_{read,write}, which do most of the work for you, but
> these haven't been back-ported to 6.x yet.

I have compared the two lib/gis/popen.c files. Is backport as "easy" as
adding the GRASS 7 functions in 6 to also keep the old G_popen() and
G_pclose() for backward compatibility?

Markus


More information about the grass-user mailing list