From: ts Date: 2003-03-06T22:21:33+09:00 Subject: Re: system command expansion after PTY.spawn >>>>> "n" == nobu nokada writes: n> It may not be easy to use. I don't know from where this design n> has come. The signal was installed by pty, if it can't manage this signal it must *not* install it n> What problems? pigeon% cat b.rb #!/usr/bin/ruby require 'pty' require 'expect' 24.times do PTY.spawn( "irb" ) do |pty_read, pty_write| pty_write.sync = true pty_read.expect( "irb(main):001:0> " ) pty_write.print( "exit\n" ) end end pigeon% pigeon% b.rb ./b.rb:6:in `spawn': Too many ptys are open (RuntimeError) from ./b.rb:6 from ./b.rb:5:in `times' from ./b.rb:5 pigeon% Manifestly it can't manage this signal Guy Decoux