[GRASS-dev] d.rast.edit in wxgrass
dca.gis at gmail.com
Wed Jun 27 14:29:39 EDT 2007
On 6/26/07, Glynn Clements <glynn at gclements.plus.com> wrote:
> Currently, menuform.py if run standalone will accept one argument, the
> grass command, and will call it on its own to get back the
> --xml-description. So an execve() should be enough, I think.
> sprintf(script, "%s/etc/wx/gui_modules/menuform.py", G_gisbase());
> execlp(script, "menuform.py", pgm_name, NULL);
> G_fatal_error(_("Unable to invoke wxPython GUI"));
However, I should ask, is this preferable to the stdin feed of xml?
Which is more maintainable? I'm uneasy about handling things
differently for tcltk and wxpython; seems messy.
-- Daniel Calvelo Aros
More information about the grass-dev