Nowadays there is wxGUI code which uses calls via ctypes. Would it by
possible to temporary change behaviour of G_fatal_error() to enable
redirect module output back to console and then print message and do
exit? (AFAIK, now an error message is showed in GUI and then GUI
fails, so user and programmer don't see the message.)

I know that this solution doesn't follow the idea of calling modules
(and not using library directly), but now it seems to be much easier
to do this change than rewrite parts of wxGUI which uses ctypes.
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to