[GRASS-dev] Re: [GRASS GIS] #637: Problems with paths in the TCL/TK Windows GUI

GRASS GIS trac at osgeo.org
Thu Jun 11 12:06:23 EDT 2009


#637: Problems with paths in the TCL/TK Windows GUI
---------------------------+------------------------------------------------
  Reporter:  marmai        |       Owner:  grass-dev at lists.osgeo.org    
      Type:  defect        |      Status:  new                          
  Priority:  critical      |   Milestone:  6.4.0                        
 Component:  Tcl           |     Version:  6.4.0 RCs                    
Resolution:                |    Keywords:  Tcl Window Gui path, wingrass
  Platform:  MSWindows 2K  |         Cpu:  Unspecified                  
---------------------------+------------------------------------------------
Comment (by glynn):

 Replying to [comment:5 hamish]:

 > > It's only necessary to convert / to \ if the path is being
 > > passed to Windows' command interpreter. The rest of the OS
 > > understands both / and \.
 >
 > Ok, so the code we need to check then is the bit that launches e.g.
 dbf.exe child from lib/db/dbmi_client/start.c  ???

 I don't think so. The backslashes are getting lost. Windows' command
 interpreter doesn't interpret backslashes, so this looks more like Tcl's
 doing. It looks like something is (implicitly or explicitly) using "eval"
 or "subst" on the string, causing backslash-<char> to be replaced with
 <char>.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/637#comment:6>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list