#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: closed
Priority: critical | Milestone: 6.4.0
Component: Tcl | Version: 6.4.0 RCs
Resolution: fixed | Keywords: xterm
Platform: Linux | Cpu: Unspecified
-----------------------+----------------------------------------------------
Comment (by glynn):
Replying to [comment:23 hamish]:
> please note that args containing spaces still fail from the wxPy GUI's
`Cmd>` prompt.
> Maybe that's just me not knowing how to quote stuff in python though.
No, it's a bug in the wx GUI; GMConsole.!RunCmd in goutput.py does:
{{{
try:
cmdlist = command.strip().split(' ')
except:
cmdlist = command
}}}
Try shlex.split(). See also bug #528.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/604#comment:24>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev