I have a proc with name "a" which is launching/calling external command "ext_a".
Now I can call "a_1" and "ext_a_1" commands from the tclsh and I want tclsh to throw and error while calling "ext_a" command.
Thanks,
ujin
Can anyone advice how to disable bash command execution from the tcl.
E.g.
ast@ujin:~/Desktop$ tclsh
% ls
a.txt b.txt c.txt
% blin
invalid command name "blin"
%
I would like tclsh to throw error while executing "ls" command: {invalid command name "ls"}
Note that I don't want to disable all...
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.