How do I find the path to the tclsh running my script?
tcl
Solution
Just found it by myself: It's
info nameofexecutable
Problem
From my Tcl script, I would like to find the path to the `tclsh` executable which is running my script (like `sys.executable` in Python), or at least find how the `tclsh` was invoked from the command line (like `$^X` in Perl)?