#604: /usr/lib/grass64/etc/grass-run.sh does not work properly when called by gis.m to execute in a external xterm -----------------------+---------------------------------------------------- Reporter: frankie | Owner: [email protected] Type: defect | Status: new Priority: critical | Milestone: 6.4.0 Component: Tcl | Version: 6.4.0 RCs Resolution: | Keywords: xterm Platform: Linux | Cpu: Unspecified -----------------------+---------------------------------------------------- Comment (by glynn):
Replying to [comment:11 hamish]: > Replying to [comment:6 glynn]: > > No, the script itself is correct. How is it being called? > > http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/gui/tcltk/gis.m/runandoutput.tcl#L227 Okay; it appears to be a bug in Gronsole::run_xterm (lib/gtcltk/gronsole.tcl): {{{ exec -- $env(GISBASE)/etc/grass-xterm-wrapper -name xterm-grass -e env(GISBASE)/etc/grass-run.sh $cmd & }}} The command is being treated as a string, and passed as a single argument. It should be a list, and each element should be a separate argument to "exec". See the "term" procedure in runandoutput.tcl for an example of calling "exec" with a list of arguments. -- Ticket URL: <https://trac.osgeo.org/grass/ticket/604#comment:13> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
