tclsh

The tclsh executable generates the final file by using both a Tcl template file and the intermediary XML file crated by the $(generate) command.

The executable is GSTDIR/bin/tclsh (for UNIX™) and GSTDIR/bin/tclsh.exe (for Windows™).

Syntax

tclsh script.tcl [arguments]
  1. Name of the intermediary XML file created by the $(generate) command for the current item.

Usage

tclsh is used in build rules for generated programs. Predefined node variables can be used in the command.
tclsh "$(TemplateDir)/tpl/genprg.tcl" "$(InputDir)/$(InputBaseName).xml"