I'm currently writing a tcl script using Notepad++.

I've edited the F5 key such C:\TCL\bin\tclsh.exe "$(FULL_CURRENT_PATH)"

This will open a tcl shell & run the current script I am writing. I want the shell to stay open after the script has executed. I know I can leave a request for input etc...but after input the shell will just close...again, not what i want. I want to be able to edit & make use of the interpreter....query variables etc.

Thanks, WesleyTaylor


Try using:

gets stdin

at the end of the script. This will cause the script to wait for input before exiting.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.