|
2021-03-08
| ||
| 11:23 | • Closed ticket [0d5afe40fc]: who command resulting differently in different ways<... artifact: 5e3a58cfda user: sebres | |
| 10:58 | • New ticket [0d5afe40fc]. artifact: e94e61105f user: arvind29 | |
who command resulting differently in different ways
Closed / Invalid0d5afe40fcfbb5ed9df6885a0846773db0d26c46Created 6 years agoUpdated 6 years ago
Descriptionplain2021-03-08 10:58:48
I executed "who" command in two ways, one is directly on prompt and other in some file. We sourced same file. It ran successfully when we run directly but fails when we source in some file. Below are the details for both ways, please help. (in.tcl file contains only "who" command) % who <user_name> pts/0 Mar 2 17:26 (:1013.0) <user_name> pts/1 Mar 2 17:36 (:1013.0) % source in.tcl invalid command name "who"
sebreswiki2021-03-08 11:23:42
Works as expected by design.
Please read about $::tcl_interactive and $::auto_noexec variables and how they can affect tclsh and unknown handler.
Log in (anonymous is fine) to add a comment.