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]
Ask Us a Question
x
Ask Us a Question
x
Captcha ImageReload Captcha
Incorrect data entered.
Thank you! Your question has been submitted. Please allow 1-3 business days for someone to respond to your question.
Internal error occurred. Your question was not submitted. Please contact us using Feedback form.
We use cookies to ensure we give you the best user experience and to provide you with content we believe will be of relevance to you. If you continue to use our site, you consent to our use of cookies. A detailed overview on the use of cookies and other website information is located in our Privacy Policy.