[GRASS-dev] Re: [GRASS GIS] #1020: Display of vector maps fails

GRASS GIS trac at osgeo.org
Sun May 30 22:00:43 EDT 2010

#1020: Display of vector maps fails
  Reporter:  MilenaN      |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect       |      Status:  new                      
  Priority:  blocker      |   Milestone:  6.4.0                    
 Component:  wxGUI        |     Version:  6.4.0 RCs                
Resolution:               |    Keywords:  wingrass                 
  Platform:  MSWindows 7  |         Cpu:  x86-64                   
Comment (by glynn):

 Replying to [comment:7 martinl]:

 > seems to be problem with _spawnl

 Yep. _spawnl() simply concatenates its arguments, with spaces between
 them; it doesn't perform any quoting.

 An example of "correct" quoting can be found in escape_arg() in
 lib/gis/spawn.c. "correct" in quotes because it's up to the C runtime as
 to how to parse the command line into individual arguments; the
 escape_arg() function matches the MSVC behaviour, and is the same
 algorithm as used by e.g. Python's subprocess module (see list2cmdline()
 in subprocess.py).

 MSDN reference: http://msdn.microsoft.com/en-us/library/17w5ykft.aspx

Ticket URL: <https://trac.osgeo.org/grass/ticket/1020#comment:9>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list