From: Admin Tensor Date: 2013-05-09T03:01:44+09:00 Subject: Re: File Problem with pty and irb Sean O'halpin wrote in post #1108273: > Instead of running it from irb, have you tried running it using the > ruby interpreter directly? E.g. > > ruby cmd.rb Very good idea, Sean. I ran it again, with Process.waitpid(@pid) as you indicated (because if not, Ruby and mycode immediately exit). Yup, the namedpipe still does not produce anything, but now we know that the problem is not irb. The problem is with Ruby, and more likely, the PTY. Best regards, Bill -- Posted via http://www.ruby-forum.com/.