[GRASS-dev] Re: [GRASS GIS] #637: Problems with paths in the TCL/TK
Windows GUI
GRASS GIS
trac at osgeo.org
Thu Jun 11 09:52:54 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:2 hamish]:
> probably G_convert_dirseps_to_host() is needed somewhere in the code.
Did you mean G_convert_dirseps_from_host()?
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 \.
OTOH, some GRASS functions only recognise /, so any \ characters need to
be converted.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/637#comment:3>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list