[GRASS-dev] Catching an issue from external binary using grass Python Script

Jenny Turner jennyturner1980 at gmail.com
Wed Jul 27 11:23:34 EDT 2011


Greetings

I have a Grass Python script that calls an external binary using subprocess
like:
p=subprocess(<COMMAND>). Due to some limitations (memory) sometimes i get
this copied into Command Output:
This application has requested the Runtime to terminate it
in an unusual way.
Please contact the application's support team for more
information.

(this is windows)

1- How can catch  this error (with except but I don't know which error to
use

Thanks
Jenny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20110727/395f5003/attachment.html


More information about the grass-dev mailing list