notmeatleast
Programmer
Hi guys,
Suppose a.tcl contains
puts "Hi"
and b.tcl contains
exec tclsh a.tcl
Now, when I run tclsh b.tcl, it just retruns to the % prompt without giving any output. Why's that? How can I achive that. I don't want to use source command, as I'll have a different interpreter than the one I'm running in.
Thanks in advance.
Suppose a.tcl contains
puts "Hi"
and b.tcl contains
exec tclsh a.tcl
Now, when I run tclsh b.tcl, it just retruns to the % prompt without giving any output. Why's that? How can I achive that. I don't want to use source command, as I'll have a different interpreter than the one I'm running in.
Thanks in advance.