[GRASS-dev] Re: [GRASS GIS] #508: hardcoded /dev/null
GRASS GIS
trac at osgeo.org
Thu Mar 3 10:38:37 EST 2011
#508: hardcoded /dev/null
--------------------------------+-------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: Default | Version: 6.4.0 RCs
Keywords: wingrass /dev/null | Platform: MSWindows XP
Cpu: x86-32 |
--------------------------------+-------------------------------------------
Comment(by glynn):
Replying to [comment:4 hamish]:
> as in comment:2 I'm not sure how to fix r.out.mpeg.
{{{
G_system("ppmtompeg 2>" G_DEV_NULL);
}}}
A more significant issue is gee_wildfiles(), which does:
{{{
sprintf(cmd, "cd %s; \\ls %s >> %s 2> /dev/null",
path, wildarg, tfile);
}}}
If you want a complete replacement, the 7.0 version of xganim uses
G_spawn_ex() and g.mlist.
> I'm not sure if xganim could be made to work on WinGrass or not, but
it's better replaced by the wxGUI animator version. (?)
The 6.x xganim requires Motif and an X server, which is probably more
trouble than it's worth. Also, on Windows and MacOSX you would need to
either use Lesstif (which is still "beta" quality and barely maintained)
or buy a commercial version of Motif; the OpenMotif licence is limited to
open-source platforms.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/508#comment:5>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list