Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-09-23
04:06 • Closed ticket [2123216fff]: chan pipe docs missing plus 3 other changes artifact: fd95c06ee9 user: ferrieux
04:06 • Ticket [2123216fff]: 4 changes artifact: e852febf28 user: ferrieux
03:46 • Ticket [2123216fff]: 4 changes artifact: fcb73d4438 user: dgp
03:35 • Ticket [2123216fff]: 4 changes artifact: 7f4c66089c user: ferrieux
2008-09-22
18:44 • New ticket [2123216fff]. artifact: 49dfe55e20 user: dgp

[chan pipe] docs missing

Closed / Fixed2123216fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-09-22 18:44:08
I don't see any docs for the new
[chan pipe].  (TIP 304).
ferrieuxplain2008-09-23 03:35:34
Well, in CVS in chan.n there is the following paragraph.
Maybe it's insufficient; please tell me along which lines you want me to extend it.

\fBchan pipe\fR
.
Creates a standalone pipe whose read- and write-side channels are
returned as a 2-element list, the first element being the read side and
the second the write side. Can be useful e.g. to redirect
separately stderr and stdout from a subprocess. To do this, spawn with "2>@" or
">@" redirection operators onto the write side of a pipe, and then
immediately close it in the parent. This is necessary to get an EOF on
the read side once the child has exited or otherwise closed its output. 
.
dgpplain2008-09-23 03:46:26
Now I see it.

If you move it up so that the subcommands
are sorted alphabetically, I won't miss
it again. :)
ferrieuxplain2008-09-23 04:06:58
Done in HEAD :-)
ferrieux Closed ticket [2123216fff]. [History diff]2008-09-23 04:06:59
Log in (anonymous is fine) to add a comment.