summaryrefslogtreecommitdiffstats
path: root/doc/chan.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-01-14 11:47:07 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-01-14 11:47:07 (GMT)
commit2df270e734333e1df19a486658ea8c8c1ba30e95 (patch)
treeabf1d4b854ecdc32bc945e40c0fe528ede9c7865 /doc/chan.n
parent36a7dc586ff228596fec6afc4130c203b2b3c6d0 (diff)
downloadtcl-2df270e734333e1df19a486658ea8c8c1ba30e95.zip
tcl-2df270e734333e1df19a486658ea8c8c1ba30e95.tar.gz
tcl-2df270e734333e1df19a486658ea8c8c1ba30e95.tar.bz2
Improve linking between pages, put Tk variables in Tk docs.
Diffstat (limited to 'doc/chan.n')
-rw-r--r--doc/chan.n5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/chan.n b/doc/chan.n
index d353fab..a413049 100644
--- a/doc/chan.n
+++ b/doc/chan.n
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: chan.n,v 1.24 2009/04/15 12:31:24 dkf Exp $
+'\" RCS: @(#) $Id: chan.n,v 1.25 2010/01/14 11:47:08 dkf Exp $
.so man.macros
.TH chan n 8.5 Tcl "Tcl Built-In Commands"
.BS
@@ -544,7 +544,8 @@ Returns -1 if the channel was not opened for the mode in question.
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
+separately \fBstderr\fR and \fBstdout\fR 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.