info nameofexecutable
Gives an empty string in place of the path of the program.
info nameofexecutable
Description
Gives an empty string, so a script reads no path of the host.
Returns
An empty string.
Examples
% info nameofexecutable
Errors
% info nameofexecutable x
wrong # args: should be "info nameofexecutable"
-errorcode TCL WRONGARGS
Differences from Tcl
- Tcl gives the full path of the program.
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztcl 1.0.0-beta.1