Ok, got it. It doesn't have to do anything with tclsh vs. wish or making executable, linking, wrapping in C executable, changing MIME types etc.
I selected the file in the file browser and then selected "Edit" -> Preferences -> Behavior -> to the section "executable text files" where the radio...
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...
Tried with chmod +x, but a dialog pops up and asks me how to run this script: in terminal, display or run. What I would like is to go straight to execution, without any dialog boxes. How to go about?
Hi,
I have a simple Tcl/Tk script which I would like to start by double clicking it instead of calling it from the command line. How to get my script started that way?
Hi,
I would like my script to check for any new files in a folder and open them as soon as they are saved in that folder. Folder is located on another machine and both machines are network connected.
I am not looking for complete solution, just a friendly nudge in the right direction...
Hi,
I am trying to install expect on my CentOS machine and am following directions given in the INSTALL file.
It says that the Tcl source directory and Expect source directory should be in the same directory, if Tcl source is in /usr/share than Expect should be there too.
I didn't do any manual...
In other words, make an executable script out of the command that is to be passed to exec and run it via exec...
All I got that way is an empty blinking cursor that doesn't accept anything as input and the only way out is Ctr-C...
But this may be a good nudge to the right direction...
That is correct, when I type the commad at the prompt I get the windows share from my Windoze machine. But when I try it with exec, it keeps giving me the error message about directory not existing.
Even with the suggested alternatives in wrapping the command before passing it to exec, I get the...
Have tried and got error message:
couldn't execute "smbclient /winComp/winShare -N": no such file or directory while executing "exec $cmdstr"
My samba is otherwise running as usual, normal file sharing and no reported problems when started "manually" (by typing that command at the prompt). I...
The rules about Java arrays are pretty strict when it comes to size: once established, there's no change.
But there is a usefull class in java.util package called ArrayList. That collection works just like an array except that you can change the size by adding/removing members.
Moreover...
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.