[GRASS-dev] fixes before 6.2.1 [was: ps.map: scale wrong and no output]

Glynn Clements glynn at gclements.plus.com
Sat Nov 18 12:45:10 EST 2006


Hamish wrote:

> I don't fully understand the catch- does it get stderr?:
>  http://www.wellho.net/mouth/366_Error-handling-in-Tcl-through-catch.html

If the command writes to stderr, the text is used as the error message
in the error thrown by "exec". If you pass a variable name as the
second argument to "catch", the variable will contain the error
message, i.e. the text written to stderr.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list