Does anyone know how I can call tclsh in Tcl code due to different paths to tclsh on different platforms (Linux, SUN)?
For example, in SUN:
#!/usr/bin/sun/tclsh
on Linux:
#!/usr/bin/linux/tclsh
How can I use the same Tcl code and execute it in the two above paths?
source
share