Forum OpenACS Development: Re: How to execute a tcl script with args?? URGENT PLEASE!!

Hello Kenneth,
  Here is the documentation for TCL's source command:  As you can see, it doesn't pass arguments to the script.  If you only need this functionality in tclsh, something like this might work:

proc mysource {script args} {
    set l [list exec [info nameofexecutable] $script]
    set l [concat $l $args]
    return [eval $l]

mysource script.tcl arg1 arg2 arg3

Or see for another method.
  However, if you are using OpenACS / AOLserver this might not have the effect you expect.  If that's the case, please let us know more about what you're trying to accomplish.