[GRASS-dev] Re: FW: [GRASS-user] GRASS for windows script
solution
Glynn Clements
glynn at gclements.plus.com
Wed Dec 5 12:05:42 EST 2007
Moritz Lennert wrote:
> Is there a way to tell within tcltk whether we are in windows or in *nix
> path mode and thus to conditionalise the setting of the path ? Or to
> rewrite the expression so that it works everywhere ?
$tcl_platform(platform) should be either "windows", "macintosh", or
"unix". On Linux and Cygwin, I get "unix", while my MSys version says
"windows". I'm not sure what MacOSX will have; I suggest treating
everything except "windows" as Unix.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list