Hi list!
Tell me please, is it possible to handle GRASS errors from bash script?
–
Cheers,
Dmitriy
Hi list!
Tell me please, is it possible to handle GRASS errors from bash script?
–
Cheers,
Dmitriy
Dmitriy Tyugaev wrote:
Tell me please, is it possible to handle GRASS errors from bash script?
That depends upon what you mean by "handle". A program which
terminates with a fatal error will return a non-zero exit status, so
you can use the command with "if", "||", "&&" etc, or test the value
of "$?".
--
Glynn Clements <glynn@gclements.plus.com>