Hi Python and shell script,the script hangs

Hi

I need to run a shell script from a TCL script,the shell script in trun will run a python script

1.Tcl script
set filename "./GopiRun.sh"
[ exec $filename > out.txt ]

2.GopiRun.sh

python ./psi.py $MYSB/test_scripts/delivery/gpy1.py

3.I have my gpy1.py script.

Here the problem i am facing is on running the TCL scriptin tclsh,i am not getting any output of my python script,but in process the python script is started,i need to kill that process to see my output.

Any idea to over come the above issue