Paul Kelly wrote: > Another option (to make it even clearer that the user clicking exit was a > special case and not a "normal" error) could be that that resulted in a > return value of -1, and any positive return value indicated an error, but > I have no idea how cross-platform/GUI scripting language-compatible that > would be.
Exit codes are limited to 8 bits, so if you return -1, the caller will see 255. -- Glynn Clements <[EMAIL PROTECTED]> _______________________________________________ grass-dev mailing list [email protected] http://grass.itc.it/mailman/listinfo/grass-dev

