For Programmers: Free Programming Magazines  


Home > Archive > Tcl > November 2007 > Afterthought on TIP 267 [exec -ignorestderr]









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Afterthought on TIP 267 [exec -ignorestderr]
Alexandre Ferrieux

2007-11-05, 7:24 pm

Hi,

Roughly one year (!) ago, TIP 267, adding the flag -ignorestderr to
[exec], was voted for inclusion in 8.5.

The TIP is here:
http://www.tcl.tk/cgi-bin/tct/tip/267.html

The vote is there:
http://aspn.activestate.com/ASPN/Ma...cl-core/3351674

Question: what problem does it solve exactly ?

The rationale provided as a summary by Donal was the following:

> Since various applications use stderr for debug
> output it would be useful to retain this output without having

to
> resort to redirecting stderr to stdout (which can cause
> interleaving).


Sure, 2>@ stdout and 2>@1 both can cause some kind of interleaving.
But certainly not 2>@ stderr, which is exactly what the -ignorestderr
flag does, at least as far as I can tell from reading the 8.5 beta
sources.

Then, why add an option where one can simply use 2>@ stderr (and been
able for years)?
Do we want Tcl to get fat ?

-Alex

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com