On 6/26/07, Glynn Clements <[EMAIL PROTECTED]> wrote:
[Me]
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.
[Glynn]
IOW:
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"));
?
Yes.
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.
--
-- Daniel Calvelo Aros
_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev