<div>I&#39;ve seen that the grass.script.core.percent() module method wraps the g.message -p command.</div><div>It&#39;s ok when the work is done within the python code, but how to grab the progress emitted by a GRASS command (i,e, G_percent)?</div>
<div>There are many ways to run a command from python. What is the most appropriate to obtain/pipe the percentage from the command... given it can be done?</div><div><br></div><div>giovanni</div><div><br></div><div><a href="http://grass.osgeo.org/programming7/percent_8c.html">http://grass.osgeo.org/programming7/percent_8c.html</a></div>
<a href="http://grass.osgeo.org/programming7/namespacepython_1_1core.html#a14ce86fd0c5c18da189e6e3d0cc10501">http://grass.osgeo.org/programming7/namespacepython_1_1core.html#a14ce86fd0c5c18da189e6e3d0cc10501</a>