Why does tcl variable ($argv0) display curly brackets at console window during second run?

Description

A tcl script that uses the $argv0 variable, which contains the name of the running script will sometimes fail while running the script a second time.

Solution:

Use the following syntax:

Example:

echo [info script]


Printed version of site: www.aldec.com/en/support/resources/documentation/faq/1198