[GRASS-SVN] r37291 - grass/branches/develbranch_6/lib/gtcltk
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue May 19 14:47:45 EDT 2009
Author: hamish
Date: 2009-05-19 14:47:45 -0400 (Tue, 19 May 2009)
New Revision: 37291
Modified:
grass/branches/develbranch_6/lib/gtcltk/gronsole.tcl
Log:
ever closer
Modified: grass/branches/develbranch_6/lib/gtcltk/gronsole.tcl
===================================================================
--- grass/branches/develbranch_6/lib/gtcltk/gronsole.tcl 2009-05-19 17:39:30 UTC (rev 37290)
+++ grass/branches/develbranch_6/lib/gtcltk/gronsole.tcl 2009-05-19 18:47:45 UTC (rev 37291)
@@ -541,18 +541,12 @@
if { $mingw == "1" } {
exec -- cmd.exe /c start $env(GISBASE)/etc/grass-run.bat $cmd &
} else {
-# NG:
+ set cmd_exe [lindex $cmd 0]
+ set args [lrange $cmd 1 end]
+
eval [list exec -- $env(GISBASE)/etc/grass-xterm-wrapper \
-name xterm-grass -e $env(GISBASE)/etc/grass-run.sh \
- [lindex $cmd 0] [split [lrange $cmd 1 end]] ] &
-# NG:
-# eval [linsert [linsert $cmd 0 exec -- $env(GISBASE)/etc/grass-xterm-wrapper \
-# -name xterm-grass -e $env(GISBASE)/etc/grass-run.sh] end &]
-
-# NG:
-# eval exec -- $env(GISBASE)/etc/grass-xterm-wrapper \
-# -name xterm-grass -e $env(GISBASE)/etc/grass-run.sh \
-# $cmd &
+ $cmd_exe ] $args &
}
update idletasks
More information about the grass-commit
mailing list