On Fri, 13 May 2005, Lawrence Oluyede wrote: > > How can I deal with large inputs to an external process > popen driven? With 5k of data sent to its standard > input blocks. send the data down in a thread data = IO::read 'huge_file' sender = Thread::new(data){data.each{|line| pipe.puts line}} you'd probably then want a reader to load a thread safe queue with the returned data. why don't you want to block? -a -- =============================================================================== | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | renunciation is not getting rid of the things of this world, but accepting | that they pass away. --aitken roshi ===============================================================================