summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2006-12-04 23:13:19 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2006-12-04 23:13:19 (GMT)
commitecaf54bac05623161ca4abdd7a276beeee176e5a (patch)
tree4186f47268717fcc147488845a8dd68c052fd95f /doc
parent39dc846c629bb2f02adc7fc2c6d9ec138acc6436 (diff)
downloadtcl-ecaf54bac05623161ca4abdd7a276beeee176e5a.zip
tcl-ecaf54bac05623161ca4abdd7a276beeee176e5a.tar.gz
tcl-ecaf54bac05623161ca4abdd7a276beeee176e5a.tar.bz2
Implement TIP#267
Diffstat (limited to 'doc')
-rw-r--r--doc/exec.n14
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/exec.n b/doc/exec.n
index 73e7cba..cd965b2 100644
--- a/doc/exec.n
+++ b/doc/exec.n
@@ -1,11 +1,12 @@
'\"
'\" Copyright (c) 1993 The Regents of the University of California.
'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
+'\" Copyright (c) 2006 Donal K. Fellows.
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: exec.n,v 1.14 2006/11/03 00:34:51 hobbs Exp $
+'\" RCS: @(#) $Id: exec.n,v 1.15 2006/12/04 23:13:20 dkf Exp $
'\"
.so man.macros
.TH exec n 8.5 Tcl "Tcl Built-In Commands"
@@ -30,6 +31,12 @@ they are treated as command-line switches and are not part
of the pipeline specification. The following switches are
currently supported:
.TP 13
+\fB\-ignorestderr\fR
+.VS 8.5
+Stops the \fBexec\fR command from treating the output of messages to the
+pipeline's standard error channel as an error case.
+.VE 8.5
+.TP 13
\fB\-keepnewline\fR
Retains a trailing newline in the pipeline's output.
Normally a trailing newline will be deleted.
@@ -137,7 +144,10 @@ error messages describing the abnormal terminations; the
\fB-errorcode\fR return option will contain additional information
about the last abnormal termination encountered.
If any of the commands writes to its standard error file and that
-standard error isn't redirected,
+standard error isn't redirected
+.VS 8.5
+and \fB\-ignorestderr\fR is not specified,
+.VE 8.5
then \fBexec\fR will return an error; the error message
will include the pipeline's standard output, followed by messages
about abnormal terminations (if any), followed by the standard error