Forum OpenACS Q&A: Response to Watching Files - Quick Select

Collapse
Posted by Tom Jackson on

You might avoid the use of tcl's cd command and use:

set directory $acs_root/packages/$package_key/tcl
set files [glob -nocomplain -directory $directory *.tcl]
....

The -nocomplain switch prevents an error when no files are found.