diff options
author | davygrvy <davygrvy@pobox.com> | 2004-11-09 04:51:31 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@pobox.com> | 2004-11-09 04:51:31 (GMT) |
commit | 288ba6159319b490a01239787c663631710a9184 (patch) | |
tree | e300ca8c7e5b2faf6d595859f458be5ba9f28620 | |
parent | 473208dba0c94eaa60b4de2200861bb058d8d766 (diff) | |
download | tcl-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.
-rw-r--r-- | doc/open.n | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |