I am building a front end to a program using perl, Glade::XML and expect. From within the script I am spawning a session to start the command line program then I look for the password prompt and send the password to the program. The problem is I never see the prompt and I found that apparently the program starts another gnome-terminal session so expect can not see the prompts. Can anyone help me work around this issue I have searched everywhere that I can think of and I can not find a solution.