From: Urizev Date: 2007-10-08T21:00:30+09:00 Subject: Re: popen in non-blocking mode 2007/10/7, Nobuyoshi Nakada : > Hi, > > At Sat, 6 Oct 2007 20:17:40 +0900, > Urizev wrote in [ruby-talk:272872]: > > I want to execute a program which prompts for commads from standard > > input and returns responses to standard output, this process repeats > > several times. I want to execute it from a ruby application. I tried > > to use a popen call to do it, but it do not flush the output until > > input channel is closed. I need to know what the process request > > before sending a response. > > Use PTY. What is PTY? > > -- > Nobu Nakada > > -- Saludos Juan Carlos "ˇˇViva lo rancio!!"