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 <[email protected]>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to