[GRASS-dev] Re: not quite there on fonts

Glynn Clements glynn at gclements.plus.com
Sun May 13 08:44:50 EDT 2007


Hamish wrote:

> > I had to do this in the menu entry instead of guarantee_xmon because
> > the procedure calls the spawn to run the command.
> 
> spawn is still "downstream" of the Tcl GUI, or is it somehow a sibling
> to it?

spawn is part of the GUI, so it shares the same environment with the
rest of the GUI.

I'm not sure why putting the setting in guarantee_xmon wouldn't work,
unless the "global env" was overlooked (if you forget that, you're
modifying a local variable named "env" rather than the actual
environment which is passed on to child processes).

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list