The problem with tclsh in Windows is that the console closes in case of an error. So it's quite a problem to understand what happened: the script finished its job or aborted because of an error.
Is there a way to prevent tclsh console from closing if my script has an error?
Hi,
I'm a Tcl/Tk newbie. I'm writing a console script in Tcl which must run in Linux and Windows.
In Linux the script is run by tclsh because of the
#!/usr/bin/tclsh
directive in the first line.
In Windows I use ActiveTcl which by default associates Tcl script with wish. So every script opens...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.