[GRASS-dev] [GRASS GIS] #2509: d.mon output overwrite

GRASS GIS trac at osgeo.org
Tue Feb 3 08:08:52 PST 2015


#2509: d.mon output overwrite
-------------------------+--------------------------------------------------
 Reporter:  martinl      |       Owner:  martinl    
     Type:  defect       |      Status:  assigned   
 Priority:  normal       |   Milestone:  7.0.0      
Component:  Display      |     Version:  unspecified
 Keywords:  d.mon        |    Platform:  Unspecified
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by martinl):

 Replying to [comment:24 glynn]:

 > > I have implemented that in r64401
 >
 > Not really. The main issues are:

 well, it was meant as an initial step, feel free to improve.

 > 1. It adds yet more cruft rather than simplifying. Hopefully this is
 just a transitional phase until existing modules are updated.

 Can you be more detailed?

 > 2. The arguments are being concatenated into a string (without correct
 quoting) then passed as a single argument. The output from G_recreate()
 command may be sufficient for a human-readable description of the command,
 but it's not suitable for execution. G_parser() needs to save argv so that
 it can be retrieved, and D_open_driver() needs to pass the actual argv
 using G_vspawn_ex().
 >
 > 3. The command is required to be a Python script. It should at least
 support compiled executables.

 Right.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2509#comment:25>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list