1. On windows change the extension to .htc. This create a Tcl batch file that invokes the Tcl interpreter on runtime. So instead of:
tcl test.tcl
You could use
test.htc
2. The other way is to create a standalone application from your script. I use freewrap for this which is available freewrap.sourceforge.net/ and wraps your Tcl scrips into a single file binary executable i.e test.tcl becomes test.exe.
Option 1 would be best for Cloverleaf apps provided you have hciroot set. Option 2 is for more complex scripts that don’t rely on the Cloverleaf environment.
Regards
Garry
Author
Replies
Viewing 2 reply threads
The forum ‘Tcl Library’ is closed to new topics and replies.