ujin
Programmer
- Apr 2, 2009
- 2
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 commands but some of them.
Thanks
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 commands but some of them.
Thanks