[GRASS-dev] Using --quiet flag in grass.run_command

Helena Herrera helenaherrera1980 at gmail.com
Mon Oct 18 07:42:14 EDT 2010


Hi there
I have tried:
check_input= grass.run_command("g.findfile", element='cell', file=i,
mapset=mapsetc, quiet="True")
and I still got  that boring print . What am I missing?
Thanks

On Mon, Oct 18, 2010 at 11:06 AM, Glynn Clements
<glynn at gclements.plus.com>wrote:

>
> Martin Landa wrote:
>
> > > I'm running a few functions inside grass.run_command and I wanted to
> use the
> > > --quiet flag but I cannot find any information about it. I have tried
> > > flag='q', flag='--quiet' and jut '--quiet' but non of these are
> accepted.
> >
> > use `quiet` flag instead, e.g.
> >
> > grass.run_command(v.build, map = "name", quiet = True)
>
> Similarly, "verbose = True" for --verbose and "overwrite = True" for
> --overwrite.
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20101018/bc4bce43/attachment.html


More information about the grass-dev mailing list