diff options
author | mjanssen <mpc.janssen@gmail.com> | 2024-05-02 21:29:19 (GMT) |
---|---|---|
committer | mjanssen <mpc.janssen@gmail.com> | 2024-05-02 21:29:19 (GMT) |
commit | 57e67d7c3f845aa9c3bbe116f1c52ee95fbb8af8 (patch) | |
tree | a684e0223482aab49c973a1e1f62a0fb4462f06f | |
parent | 930e453f2429f74766037e685b8db0535e5c3b5c (diff) | |
download | tcl-57e67d7c3f845aa9c3bbe116f1c52ee95fbb8af8.zip tcl-57e67d7c3f845aa9c3bbe116f1c52ee95fbb8af8.tar.gz tcl-57e67d7c3f845aa9c3bbe116f1c52ee95fbb8af8.tar.bz2 |
[unknown] only calls shell command in interactive tclsh sessions
-rw-r--r-- | doc/unknown.n | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/unknown.n b/doc/unknown.n index ee8a5be..8ea1e8e 100644 --- a/doc/unknown.n +++ b/doc/unknown.n @@ -47,7 +47,7 @@ The default implementation of \fBunknown\fR behaves as follows. It first calls the \fBauto_load\fR library procedure to load the command. If this succeeds, then it executes the original command with its original arguments. -If the auto-load fails then \fBunknown\fR calls \fBauto_execok\fR +If the auto-load fails and Tcl is run interactively then \fBunknown\fR calls \fBauto_execok\fR to see if there is an executable file by the name \fIcmd\fR. If so, it invokes the Tcl \fBexec\fR command with \fIcmd\fR and all the \fIargs\fR as arguments. |