From: ts Date: 2003-03-06T22:06:36+09:00 Subject: Re: system command expansion after PTY.spawn >>>>> "n" == nobu nokada writes: n> Exception to notice that the child process exited. OK, but now you really think that this is normal ? pigeon% cat b.rb #!/usr/bin/ruby require 'pty' require 'expect' pty_read, pty_write, pid = PTY.spawn( "irb" ) p pid pty_write.sync = true pty_read.expect( "irb(main):001:0> " ) pty_write.print( "exit\n" ) pty_read.close pty_write.close 10000.times {} pigeon% pigeon% b.rb 25521 ./b.rb:12:in `times': Child_changed: 25521 (RuntimeError) from ./b.rb:12 pigeon% and it exist other problems Guy Decoux