$argv0 is a
global variable provided by programs like
tclsh and
wish, and contains either the name of the interpreter invoked, or, if a script was provided to the interpreter for exection, the name of the script.
See Also edit
- argc
- argv
- main script
- determine whether a script is the main script
- tclsh
- wish