How to start a Tcl/Tk script by simply invoking the script file itself ?
Hi folks,
this Q is probably a bit trivial to some of you. I added "#!/usr/local/bin/wish -f" to the first line of my script and do "chmode 775 filename" to it. however, I am unable to invoke the file by just typing "filename" in console. I still need to do "wish filename" to start the program. am I missing something here ? any help would be greatly appreciated. James |
Try:
Code:
./filename The directory it's in, is probably not in your PATH environment variable. |
thanks...
now u know how long have i quit programming in linux~~ |
All times are GMT -5. The time now is 09:29 PM. |