diff options
author | hobbs <hobbs> | 1999-12-09 14:43:47 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 1999-12-09 14:43:47 (GMT) |
commit | a5996b195198a34b211bf95fef59ae668c3e6d8e (patch) | |
tree | 5e06cadac50b131dc36a18dca2fdb2b9bca380d0 /doc/exec.n | |
parent | 420b90553a2b08e2fcd83ca34fb99eff606140bf (diff) | |
download | tcl-a5996b195198a34b211bf95fef59ae668c3e6d8e.zip tcl-a5996b195198a34b211bf95fef59ae668c3e6d8e.tar.gz tcl-a5996b195198a34b211bf95fef59ae668c3e6d8e.tar.bz2 |
* doc/exec.n:
* doc/open.n: removed references to Win32s
Diffstat (limited to 'doc/exec.n')
-rw-r--r-- | doc/exec.n | 51 |
1 files changed, 1 insertions, 50 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: exec.n,v 1.3 1999/04/16 00:46:34 stanton Exp $ +'\" RCS: @(#) $Id: exec.n,v 1.4 1999/12/09 14:43:47 hobbs Exp $ '\" .so man.macros .TH exec n 7.6 Tcl "Tcl Built-In Commands" @@ -294,55 +294,6 @@ output may fail, hang Tcl, or even hang the system if their own private console window is not available to them. .RE .TP -\fBWindows 3.X\fR -. -When attempting to execute an application, \fBexec\fR first searches for the -name as it was specified. Then, in order, \fB.com\fR, \fB.exe\fR, and \fB.bat\fR -are appended to the end of the specified name and it searches for -the longer name. If a directory name was not specified as part of the -application name, the following directories are automatically searched in -order when attempting to locate the application: -.sp -.RS -.RS -The directory from which the Tcl executable was loaded. -.br -The current directory. -.br -The Windows 3.X system directory. -.br -The Windows 3.X home directory. -.br -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. -.sp -16-bit and 32-bit DOS and Windows applications may be executed. However, -redirection and piping of standard IO only works with 16-bit DOS -applications. 32-bit applications always see standard input as already -closed, and any standard output or error is discarded, no matter where in the -pipeline the application occurs or what redirection symbols are used by the -caller. Additionally, for 16-bit applications, standard error is always -sent to the same place as standard output; it cannot be redirected to a -separate location. In order to achieve pseudo-redirection for 32-bit -applications, the 32-bit application must instead be written to take command -line arguments that specify the files that it should read from and write to -and open those files itself. -.sp -All applications, both 16-bit and 32-bit, run synchronously; each application -runs to completion before the next one in the pipeline starts. Temporary files -are used to simulate piping between applications. The \fBexec\fR -command cannot be used to start an application in the background. -.sp -When standard input is redirected from an open file using the -``\fB@\0\fIfileId\fR'' notation, the open file is completely read up to its -end. This is slightly different than under Windows 95 or NT, where the child -application consumes from the open file only as much as it wants. -Redirecting to an open file is supported as normal. -.RE -.TP \fBMacintosh\fR The \fBexec\fR command is not implemented and does not exist under Macintosh. .TP |