But I need the window. When I substitute wish for tclsh in the shebang line, I get error message (only when I run the script in console):
invalid command name "button"
while executing
"button .someButton -text etc -command {some-tcl-command}"
I need the window, the buttons, etc. And I made the windowed script executable with chmod +x. But I don't need the "Run or Display?" dialog box, is there any way around it?