#508: hardcoded /dev/null
---------------------------+------------------------------------------------
Reporter: hamish | Owner: [email protected]
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: default | Version: 6.4.0 RCs
Resolution: | Keywords: wingrass /dev/null
Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Comment (by hamish):
i.cluster, r.topmodel, and lib/gis/opencell.c updated in r36143 - r36148.
For grass 6 I am not really sure what to do with r.mapcalc from
r.topmodel/misc.c. I can do
{{{
G_putenv("GRASS_VERBOSE", "0");
}}}
but then how to undo that as soon as r.mapcalc is done? ie so you don't
override user's verbosity setting for everything that happens afterwards
in the module. on unix you could put "GRASS_VERBOSE=0 r.mapcalc ..." on
the same line, dunno if that works for windows.
n.b. old >/dev/null didn't catch G_percent() as it is to stderr not
stdout.
Also I am not sure how to fix r.out.mpeg (sends 2> /dev/null), so that one
remains to be fixed.
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/508#comment:2>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev