piper
piper

Reputation: 87

How to avoid opening external programs in tclsh

Typing 'as' in my development environment causes tclsh to be unresponsive

mytcl % as


^C
child killed: interrupt
while evaluating as
mytcl % 

I don't care what kind of program is opened by the as command, is there a way to stop opening this external program in tclsh?

Upvotes: 0

Views: 54

Answers (1)

glenn jackman
glenn jackman

Reputation: 246877

is there a way to stop opening this external program in tclsh?

Yes. From https://wiki.tcl-lang.org/page/tclsh

Setting $::auto_noexec to 1 suppresses this behaviour

You can set that in your ~/.tclshrc if you want to turn it off in every interactive tclsh session.

Upvotes: 2

Related Questions