note that tcl donest send commands to a shell, it comletly executes itself.
i think you should use some extra curly braces ( { & } ), eg,
exec ncelab -generic {FILE_NAME => "./code/text_case1"} work.tb:configuration
Breadcrust (aka J@red)
Web - http://www.bcwebnet.tk
E-mail -...