Tuesday, January 6, 2015

TCL: How to end program and close the program window

In order for the application to end and the window to close when running a Tcl script from the command line an
exit command must be added at the end of the script.

exit ?returnCode?

http://www.tcl.tk/man/tcl8.5/TclCmd/exit.htm

No comments:

Post a Comment