[Python-Dev] webbrowser.py: browser >/dev/null 2>&1

Oleg Broytmann phd at mail2.phd.pp.ru
Wed Mar 23 15:27:44 CET 2005


On Wed, Mar 23, 2005 at 10:25:12AM -0300, Rodrigo Dias Arruda Senra wrote:
> > Why do all graphical browsers are called with their stdout/stderr redirected 
> > to /dev/null? 
> 
> Under some linux distros (I'm positive for some Mdk releases), Mozilla is
> compiled dumping a lot of info to stdout/stderr. Since one of the goals of
> webbrowser is to give the end-user a stress-free experience, there goes the
> mentioned nullification <wink>.

   I see the point. Still I don't know what is worse and more stressful
- to hide errors or to show errors.
   MandrakeZilla spits too much to stdout/err? That's certainly a
problem. Should we "fix" it and hide from the user? I don't think so.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-Dev mailing list