Christian von Mueffling wrote:
> Hi!
> 
> On Mon, Mar 24, 2003 at 08:16:53PM +0900, Cedric Foll wrote:
> 
> 
>>/usr/lib/ruby/1.6/expect.rb:13:in `select': Child_changed: 308 (RuntimeError)
> 
> 
> [...]
> 
> 
> I had the same problem. The solution was, to shield the call to expect and retry
> once:
> 

A better solution still is to ignore the interrupting signal.
I posted an example of a rather complete Expect class two weeks ago,
that does this.
trap('SIGCHLD','IGNORE')
does the trick. (On Linux, don't know a thing about Windows).

Cheers,

Han Holl