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
marisn
August 11, 2009, 7:31am
2
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@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
On Tue, Aug 11, 2009 at 9:31 AM, Maris Nartiss<maris.gis@gmail.com> wrote:
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
Ah, forgot about that patch.
Should I look into those old patches and commit to 6.5?
This would be great. Perhaps it can be then recycled later for 7 as well.
thanks.
Markus