diff options
| author | mjanssen <mpc.janssen@gmail.com> | 2024-05-03 16:42:58 (GMT) |
|---|---|---|
| committer | mjanssen <mpc.janssen@gmail.com> | 2024-05-03 16:42:58 (GMT) |
| commit | ed765a6ff708e9aead1527d36421f930fec4aaa7 (patch) | |
| tree | 536257bf1fd8405dc01729d1a26218d01df0491f | |
| parent | 7b6f20e26950bd7fd46b5f6ab73c87ab0870c500 (diff) | |
| parent | 38994b1bad43bf867e680d14bb6b8e66a51f0e2f (diff) | |
| download | tcl-ed765a6ff708e9aead1527d36421f930fec4aaa7.zip tcl-ed765a6ff708e9aead1527d36421f930fec4aaa7.tar.gz tcl-ed765a6ff708e9aead1527d36421f930fec4aaa7.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. |
