summaryrefslogtreecommitdiffstats
path: root/doc/exec.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-08-31 15:19:35 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-08-31 15:19:35 (GMT)
commit9a9b0aefb8d903006586c7445a843656fe45107f (patch)
tree1bef5c1caca0c9ba498f26d4ab155eed6ac330b9 /doc/exec.n
parent2dff694c415bcb05ec35723e1d67c61c07d7bfaa (diff)
downloadtcl-9a9b0aefb8d903006586c7445a843656fe45107f.zip
tcl-9a9b0aefb8d903006586c7445a843656fe45107f.tar.gz
tcl-9a9b0aefb8d903006586c7445a843656fe45107f.tar.bz2
Grammar and spelling fixes. [Patch 1018486]
Diffstat (limited to 'doc/exec.n')
-rw-r--r--doc/exec.n21
1 files changed, 11 insertions, 10 deletions
diff --git a/doc/exec.n b/doc/exec.n
index d44f28c..62ff872 100644
--- a/doc/exec.n
+++ b/doc/exec.n
@@ -5,14 +5,14 @@
'\" 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.10 2004/07/02 23:31:29 hobbs Exp $
+'\" RCS: @(#) $Id: exec.n,v 1.11 2004/08/31 15:19:36 dkf Exp $
'\"
.so man.macros
.TH exec n 8.5 Tcl "Tcl Built-In Commands"
.BS
'\" Note: do not modify the .SH NAME line immediately below!
.SH NAME
-exec \- Invoke subprocess(es)
+exec \- Invoke subprocesses
.SH SYNOPSIS
\fBexec \fR?\fIswitches\fR? \fIarg \fR?\fIarg ...\fR?
.BE
@@ -38,7 +38,7 @@ Normally a trailing newline will be deleted.
Marks the end of switches. The argument following this one will
be treated as the first \fIarg\fR even if it starts with a \fB\-\fR.
.PP
-If an \fIarg\fR (or pair of \fIarg\fR's) has one of the forms
+If an \fIarg\fR (or pair of \fIarg\fRs) has one of the forms
described below then it is used by \fBexec\fR to control the
flow of input and output among the subprocess(es).
Such arguments will not be passed to the subprocess(es). In forms
@@ -225,7 +225,7 @@ example.
.br
2) TUI -- Textmode User Interface, any application that accesses the console
API for doing such things as cursor movement, setting text color, detecting
-key presses and mouse movement, etc... An example would be \fBtelnet.exe\fR
+key presses and mouse movement, etc. An example would be \fBtelnet.exe\fR
from Windows 2000. These types of applications are not common in a windows
environment, but do exist.
.RE
@@ -233,8 +233,7 @@ environment, but do exist.
present, as is done when launching applications under wish. It is desirable
to have console applications hidden and detached. This is a designed-in
limitation as \fBexec\fR wants to communicate over pipes. The Expect
-extension addresses this issue when communication between a TUI application
-is desired.
+extension addresses this issue when communicating with a TUI application.
.sp
.RE
.TP
@@ -262,8 +261,9 @@ The Windows NT home directory.
The directories listed in the path.
.RE
.sp
-In order to execute the shell builtin commands like \fBdir\fR and \fBcopy\fR,
-the caller must prepend ``\fBcmd.exe /c\0\fR'' to the desired command.
+In order to execute shell built-in commands like \fBdir\fR and \fBcopy\fR,
+the caller must prepend the desired command with ``\fBcmd.exe /c\0\fR''
+because built-in commands are not implemented using executables.
.sp
.RE
.TP
@@ -289,8 +289,9 @@ The Windows 9x home directory.
The directories listed in the path.
.RE
.sp
-In order to execute the shell builtin commands like \fBdir\fR and \fBcopy\fR,
-the caller must prepend ``\fBcommand.com /c\0\fR'' to the desired command.
+In order to execute shell built-in commands like \fBdir\fR and \fBcopy\fR,
+the caller must prepend the desired command with ``\fBcommand.com /c\0\fR''
+because built-in commands are not implemented using executables.
.sp
Once a 16-bit DOS application has read standard input from a console and
then quit, all subsequently run 16-bit DOS applications will see the