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 | 38994b1bad43bf867e680d14bb6b8e66a51f0e2f (patch) | |
| tree | a684e0223482aab49c973a1e1f62a0fb4462f06f | |
| parent | b97111153a2ca8bcf2ba5f9c5deaf0c28a67af07 (diff) | |
| download | tcl-38994b1bad43bf867e680d14bb6b8e66a51f0e2f.zip tcl-38994b1bad43bf867e680d14bb6b8e66a51f0e2f.tar.gz tcl-38994b1bad43bf867e680d14bb6b8e66a51f0e2f.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. |
