www.gibmonks.com

  Previous section   Next section

Practical Programming in Tcl & Tk, Third Edition
By Brent B. Welch

Table of Contents
Chapter 49.  Tcl 7.5/Tk 4.1


Multiple Interpreters and Safe-Tcl

Chapter 19 describes the new interp command and the Safe-Tcl security mechanism. You can create multiple Tcl interpreters in your application and control them with the interp command. You create command aliases so that the interpreters can exchange Tcl commands. If an interpreter is created in a safe mode, then its set of Tcl commands is restricted so that its scripts cannot harm your computer or application. However, with aliases you can give the untrusted scripts limited access to resources.


      Previous section   Next section
    Top