From 288ba6159319b490a01239787c663631710a9184 Mon Sep 17 00:00:00 2001 From: davygrvy Date: Tue, 9 Nov 2004 04:51:31 +0000 Subject: * doc/open.n: Added a note about -blocking 0 and lack of exit status as it had never been documented. --- doc/open.n | 5 +++-- 1 file 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 -- cgit v0.12