[GRASS-dev] Re: gis.m/d.m don't background on OSX

William Kyngesburye woklist at kyngchaos.com
Sun Dec 17 18:31:05 EST 2006


On Dec 17, 2006, at 5:08 PM, Hamish wrote:

> I made that change as the d.m and gis.m scripts background themselves:
>
>
> gui/tcltk/gis.m/gis.m:
> -----------------------
> [...]
> if [ $# -eq 0 ] ; then
>         if [ "$HOSTTYPE" = "macintosh" -o "$HOSTTYPE" = "powermac" - 
> o "$HOSTTYPE" = "powerpc" -o "$HOSTTYPE" = "intel-pc" ] ; then
>                 exec "$GRASS_WISH" $GISBASE/etc/gm/gm.tcl -name gm_tcl
>         else
>                 exec "$GRASS_WISH" $GISBASE/etc/gm/gm.tcl -name  
> gm_tcl &
>         fi
>         exit
> fi
>
But according to the logic there, it doesn't explicitly background on  
OSX ("macintosh", "powermac", "powerpc").  And apparently exec  
doesn't automatically background on OS X (the problem I noticed).

So maybe now the Mac exceptions in gis.m/d.m should be removed?


-----
William Kyngesburye <kyngchaos at kyngchaos.com>
http://www.kyngchaos.com/

[Trillian]  What are you supposed to do WITH a maniacally depressed  
robot?

[Marvin]  You think you have problems?  What are you supposed to do  
if you ARE a maniacally depressed robot?  No, don't try and answer,  
I'm 50,000 times more intelligent than you and even I don't know the  
answer...

- HitchHiker's Guide to the Galaxy





More information about the grass-dev mailing list