Changeset 39479
- Timestamp:
- Oct 10, 2009, 10:39:25 PM (15 years ago)
- File:
-
- 1 edited
-
grass/branches/develbranch_6/lib/init/init.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
grass/branches/develbranch_6/lib/init/init.sh
r39462 r39479 1023 1023 # Attempt to close any open gis.m instances. 1024 1024 # Will work only on some systems, still has no harm to others 1025 if [ $TCLTKGRASSBASE ] ; then 1025 # do Mac and MSys have pgrep? if [ -x `which pgrep` ] && [ `pgrep -c ... ] ; then 1026 if [ -n "$TCLTKGRASSBASE" ] && [ `pgrep -c $GRASS_WISH` -ge 1 ] ; then 1026 1027 echo "Closing open gis.m sessions....." 1027 1028 echo 'foreach gwin [lsearch -all -inline [winfo interps] gm_tcl*] { 1028 1029 catch {send -async $gwin Gm::remoteExit $env(GIS_LOCK)} 1029 1030 } 1030 exit' | $GRASS_WISH>/dev/null 2>&11031 exit' | "$GRASS_WISH" #>/dev/null 2>&1 1031 1032 fi 1032 1033
Note:
See TracChangeset
for help on using the changeset viewer.
