[EMAIL PROTECTED] writes:
> When i purposely input a wrong password, it "hangs" at the login prompt
> waiting for
> login and Password. The host i am telnetting to is a unix server.
> How can i "exit" this login prompt if the user keys in wrong password
> in my script?


It looks to me like after you send the wrong password, you send "ls"
without checking that you got back another login prompt.  Then the
program hangs because both ends are waiting for input.  

Whatever your actual application is, try to avoid doing it this way.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to