Run expect script from other shell

view story

http://unix.stackexchange.com – My target is to create the /var/tmp/add_user.bash script by /var/tmp/create_script_add_user.bash script and run the expect script ( add_user.bash ) from create_script_add_user.bash script. The problem is that when I run the script add_user.bash from create_script_add_user.bash, then expect stuck on the question: Proceed? n) It means like expect can't see the question from standard output. But when I run the script /var/tmp/add_user.bash, then it works fine. Why can't expect run from other script? And how to solve this issue? Contents of /var/tmp/create_script_add_user.bash # (HowTos)