[Freemint-list] Handling of PRGs/APPs which console output
Thorsten Otto
admin at tho-otto.de
Fri Jan 6 20:54:14 MSK 2017
On Friday 06 January 2017 18:23:01 Jo Even Skarstein wrote:
> Let's be honest, we're talking about one particular program here :)
> That's Netsurf, the debug build that's supposed to be shipped with the
> Firebee
if it is a debug build, then users should know to expect output from it. In
that case its their fault if they are complaining about it.
>If you eat all output to stdout by default, you will never know
>that Papyrus aborted due to lack of memory, you'll just see that it
>vanished in front of you.
Thats one of the situations why i don't like the concept of eating all output,
regardless how it is actually implemented. There are some runtime libraries
that print an error, then abort the program on certain fatal conditions. Since
the program is going to exit anyway, i think this output is acceptable,
especially because in most cases those libraries usually wait for a keypress
for confirmation. I think you don't want to have a program hang around forever
waiting for a key and don't know what happened because you did not see the
error message...
More information about the Freemint-list
mailing list