[GRASS-dev] Re: [GRASS GIS] #604: /usr/lib/grass64/etc/grass-run.sh does not work properly when called by gis.m to execute in a external xterm

GRASS GIS trac at osgeo.org
Thu May 21 16:17:50 EDT 2009


#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:  grass-dev at lists.osgeo.org
      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>


More information about the grass-dev mailing list