Hi,

At Mon, 29 Mar 2004 16:11:28 +0900,
Edward Middleton wrote in [ruby-talk:96019]:
> When I remove the close_write it doesn't loop but blocks on readlines. I
> can modify both the interactive program and the ruby wrapper library. I
> tried explicitly putting a _flushall(); call and even a _fcloseall( );
> in the interactive program but neither had any effect. How should this
> be done? Any advice or examples would be great.

At close_write, your myprogram.exe reaches EOF.  You have to
check it.

-- 
Nobu Nakada