From: ts Date: 2003-03-06T22:26:19+09:00 Subject: Re: system command expansion after PTY.spawn >>>>> "C" == Christian von Mueffling writes: C> require 'pty' C> pty_read, pty_write, pid = PTY.spawn( "irb" ) C> `uname` Well, normally this must be written pigeon% cat b.rb #!/usr/bin/ruby require 'pty' pty_read, pty_write, pid = PTY.spawn( "irb" ) PTY.protect_signal do p `uname` end pigeon% pigeon% b.rb "Linux\n" pigeon% Guy Decoux