summaryrefslogtreecommitdiffstats
path: root/doc/open.n
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2004-11-09 04:51:31 (GMT)
committerdavygrvy <davygrvy@pobox.com>2004-11-09 04:51:31 (GMT)
commit288ba6159319b490a01239787c663631710a9184 (patch)
treee300ca8c7e5b2faf6d595859f458be5ba9f28620 /doc/open.n
parent473208dba0c94eaa60b4de2200861bb058d8d766 (diff)
downloadtcl-288ba6159319b490a01239787c663631710a9184.zip
tcl-288ba6159319b490a01239787c663631710a9184.tar.gz
tcl-288ba6159319b490a01239787c663631710a9184.tar.bz2
* doc/open.n: Added a note about -blocking 0 and lack of exit status as it had
never been documented.
Diffstat (limited to 'doc/open.n')
-rw-r--r--doc/open.n5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/open.n b/doc/open.n
index 2f895d2..a79029d 100644
--- a/doc/open.n
+++ b/doc/open.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: open.n,v 1.21 2004/10/27 14:24:37 dkf Exp $
+'\" RCS: @(#) $Id: open.n,v 1.22 2004/11/09 04:51:31 davygrvy Exp $
'\"
.so man.macros
.TH open n 8.3 Tcl "Tcl Built-In Commands"
@@ -136,7 +136,8 @@ command, using the channel id returned by \fBopen\fR as argument.
If the command (or one of the commands) executed in the command
pipeline returns an error (according to the definition in \fBexec\fR),
a Tcl error is generated when \fBclose\fR is called on the channel
-(similar to the \fBclose\fR command.)
+unless the pipeline is in non-blocking mode then no exit status is
+returned (a silent \fBclose\fR with -blocking 0).
.PP
It is often useful to use the \fBfileevent\fR command with pipelines
so other processing may happen at the same time as running the command