[GRASS-user] Handling exceptions with Python
Martin Landa
landa.martin at gmail.com
Wed Oct 5 18:03:20 EDT 2011
Hi,
2011/10/5 Glynn Clements <glynn at gclements.plus.com>:
> run_command doesn't raise an exception if the command fails (returns a
> non-zero exit status). Some time ago, there was an attempt to do this,
> but it was so badly implemented that it was reverted.
I think that Python Scripting Library should contain mechanism for
raising exceptions. Please feel free to implement it in better way
than it was...
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
More information about the grass-user
mailing list