[GRASS-dev] Leftover GUI when leaving a GRASS session problem
Maris Nartiss
maris.gis at gmail.com
Tue Aug 11 03:31:35 EDT 2009
This issue isn't new one and it requires also changes in GUI part. See
(uncommited) patches in old RT:
http://wald.intevation.org/tracker/index.php?func=detail&aid=515&group_id=21&atid=205
Should I look into those old patches and commit to 6.5?
Maris.
2009/8/11, Markus Neteler <neteler at osgeo.org>:
> Hi,
>
> we still have the problem of leftover GUI(s) when leaving a GRASS session.
> I wonder if we could get out more of the eval statement below to kill the
> GUI process when leaving?
>
> ------- init.sh snippet -------
> tcltk | gis.m | oldtcltk | d.m | wxpython)
>
> if [ "$GRASS_GUI" = "tcltk" ] || \
> [ "$GRASS_GUI" = "gis.m" ] || \
> [ "$GRASS_GUI" = "oldtcltk" ] || \
> [ "$GRASS_GUI" = "d.m" ] ; then
>
> # eval `foo` will return subshell return code and
> not app foo return code!!!
> eval '"$GRASS_WISH" -file "$TCLTKGRASSBASE/gis_set.tcl"'
> thetest=$?
> else
> eval '"$GRASS_PYTHON" "$WXPYTHONGRASSBASE/gis_set.py"'
> thetest=$?
> fi
>
> case $thetest in
> 1)
> ------- init.sh snippet end -------
>
> ?
>
> Markus
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
More information about the grass-dev
mailing list