Hi, see the GRASS Programmers' manual, python section: http://grass.osgeo.org/programming6/pythonlib.html specifically grass.pipe_command(). See the python scripts in grass7/scripts/ for a large number of examples. Hamish