[GRASS5] More Mac OS X Tcltkgrass Tweaks
glynn.clements at virgin.net
Tue Apr 29 05:56:04 EDT 2003
Jeshua Lacock wrote:
> > As a temporary work around, I guess I can disable tcltkgrass from
> > launching automatically and the user will just be required to start
> > the GUI by pasting in 'tcltkgrass &'.
> I figured out a better work-around.
> In Init.sh I changed:
> tcltkgrass &
> echo "tcltkgrass" | sh &
> And everything works just great (go figure)!
However, I don't think that we should be modifying Init.sh to work
around problems with the MacOSX Tcl/Tk implementation.
Also, I'm not sure that the above really fixes the problem. AFAICT,
the whole point of the "2> @stdout" is so that stderr goes to the same
place as stdout, i.e. into the stream which is returned from the open
command, and *not* wish's stdout/stderr. But the nature of the problem
suggests that wish's stdout/stderr is getting involved.
If a command generates an error, do you get the error message in the
output window, or in the xterm? It should be the former.
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev