> Okay, I'm still trying to workaroung getting a loud BELL everytime there is
> an error n my expect/telnet script. The script works well except for this.
> History:
> I posted a question a few days ago asking if anyone knew how to avoid gettng
> the BELL everytime expect gets an error. One of the suggestions is
> interesting. Someone suggested using "exec telnet.exe" rather than "spawn
> telnet.exe". The poster said that I could possible use exec because it
> supports redirection and at the sane time I could use telnet interacrively
> with expect. Well, how do I do ths? Does anyone else have a suggestion how
> to avoid the BELL when expect gets an error. (or a million bells if there
> are a million erros).
> 1) exec telnet.exe 2> errorFile.txt
> Result doesn't work this gets error "child process ..."
> 2) exec telnet.exe 2> errorFile.txt &
> This runs it in the background but how do I send a command through expect
> with this?
> Thanks,
> - Daniel
> --
> Posted via a free Usenet account fromhttp://www.teranews.com
Are you sending any output to the user using puts or send_user. If you