> 1. When you launch FS from command line and provide a -tcl command to 
> invoke a tcl script, how do you supply arguments to that script (or is that 
> even possible)?

There's no way to pass arguments along on the command line, so Bruce's 
suggestion works best.

> 3. What assumptions, if any, can a script rely on as to current directory?

It will be the same directory from which you started tksurfer. There is
a tcl command 'pwd' that will return this. I see most people use an
environment variable as the base for paths, unless they want to script
to specifically act on something that is in a relative path (like
writing a log to the current directory).

-- 
Kevin Teich

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to