[GRASS-dev] verbosity and G_done_msg

Glynn Clements glynn at gclements.plus.com
Mon Oct 23 11:44:25 EDT 2006


Hamish wrote:

> > I'm not shure, if I should leave G_done_msg("") at end of some
> > modules. 
> > 
> > User actually does not care, that some module is done - he allready
> > knows it.
> 
> not necessarily! Even if the user returns to the GRASS> prompt.
> 
> Working....
> GRASS>
> 
> did it finish or crash? (we crash a lot, unfortunately)

If it terminated due to a signal, the shell will print an error
message corresponding to the signal which terminated it. A non-zero
exit() is usually (and should always be) accompanied by an explicit
error message.

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




More information about the grass-dev mailing list