From: ts Date: 2002-09-06T17:04:19+09:00 Subject: Re: How to have a conversation with popen >>>>> "P" == Phlip writes: P> rescue Perhaps best to distinguish Errno::EWOULDBLOCK from other errors P> pipe.write('yo\n') What are you trying to do with '' and \n ? Actually you are writing 4 characters `y', `o', `\\' and `n' when #gets (in qa.rb) expect a newline Guy Decoux