safe_eval argsWhat it does:
Version of eval that checks its arguments for brackets that may be used to execute unsafe code.Defined in: /web/philip/packages/acs-core/utilities-procs.tcl
Source code:
foreach arg $args {
if { [regexp {[\[;]} $arg] } {
return -code error "Unsafe argument to safe_eval: $arg"
}
}
return [apply uplevel $args]