Kazushi Sakuraba wrote:
> This is a shot in the dark since it appears nobody uses expect.rb.
> 
> Does anybody know how to use a conditional with IO.expect("")?
> 
> Everytime I enter a string that isn't expected into IO.expect(""), the
> script just hangs and I can't do anything with the failure.

Well, at least RExpect has the ability to timeout when an unexpected 
string is parsed.  The verbose and log file absolutely bite though.

-- 
Posted via http://www.ruby-forum.com/.