safe::interpCreate

safe::interpCreate ?child? ?-accessPath LIST? ?-statics BOOL? ?-noStatics? ?-nested BOOL? ?-nestedLoadOk? ?-deleteHook SCRIPT?

The safe package 0.10 of the Tcl library (the Safe Base), which loads at the first call of one of its commands: a safe child with aliases into the parent for source, load, glob, encoding, exit, clock, and the file subcommands that read no file. The child sees each directory of its access path only as a token, $p(:N:). An alias turns the tokens back into the directories and checks each path against the access path. interpInit sets up a child that exists, interpConfigure reads or changes the options, interpAddToAccessPath and interpFindInAccessPath give the token of a directory, interpDelete runs the delete hook and deletes the child, and setLogCmd sets a command for the messages of each check.

This page also has safe::interpInit, safe::interpConfigure, safe::interpDelete, safe::interpAddToAccessPath, safe::interpFindInAccessPath, safe::setLogCmd.

Examples

Facts

Differences from Tcl 8.6