Johannes Radinger wrote:

> Thank you Hamish, including the option "input=-" in the python line (for
> GRASS7) solved the problem.

Why read the command from stdin rather than using sql=...? E.g.:

grass.write_command("db.execute", sql = "UPDATE my points SET prob=100")

-- 
Glynn Clements <gl...@gclements.plus.com>
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to