Setting Variable in TCL to be understood by KSH Shell

Hi ,

I am having one TCL TK script , I am setting some variables in the GUI TK interface

set DI 1
set MODELS_PATH /a/d/path

but I want to make ksh shell understand the variables when I am running TK script

I tried to do like this

set a [exec export DI=1 ]

but it is not working

Please help me out

I need to set some variables by running the tcl script but the KSH shell should understand this

Thanks

Kshitij

tcl has, I believe an ENV

have you heard of google?

env