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. Regards -- Saludos Juan Carlos "ˇˇViva lo rancio!!"