[GRASS-dev] Vect_*_fatal_error()

Wenzeslaus wenzeslaus at gmail.com
Sat Nov 12 13:03:04 EST 2011

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.

More information about the grass-dev mailing list