[GRASS-dev] Re: [GRASS GIS] #1184: "d.vect display=attr" imply grass open process but doesn't close them.

GRASS GIS trac at osgeo.org
Thu Nov 10 10:09:10 EST 2011


#1184: "d.vect display=attr" imply grass open process but doesn't close them.
------------------------------+---------------------------------------------
 Reporter:  met               |       Owner:  grass-dev@…              
     Type:  defect            |      Status:  new                      
 Priority:  critical          |   Milestone:  6.4.2                    
Component:  wxGUI             |     Version:  6.4.0                    
 Keywords:  wingrass, d.vect  |    Platform:  MSWindows XP             
      Cpu:  Unspecified       |  
------------------------------+---------------------------------------------

Comment(by martinl):

 Replying to [comment:7 mmetz]:
 > Display commands are run through gcmd.!RunCommand() which in turn calls
 grass.script.core.start_command() which in turn calls
 grass.script.core.Popen(). Non-display commands invoked through wxGUI are
 run through gcmd.Popen().

 it's not a question of display or non-display commands.
 `gcmd.!RunCommand()` is used when the GUI waits for command termination.
 In opposite `gcmd.Popen()` is used through `gcmd.CommandThread` which is
 basically reserved for the commands running on the background (eg. those
 launched from wxGUI command prompt).

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



More information about the grass-dev mailing list