I have this command in my tcl script
file delete {*}[glob -nocomplain /tmp/*.list]
It deletes a file in /tmp
directory with .list
extension. It is working perfectly fine when running it using tclsh filename
.
But when I compiled a tcl standalone application (The Simplest Steps to Converting TCL TK to a Stand Alone Application), it throws me an error saying it is an invalid command.
Any idea?