From: Paul Brannan Date: 2002-03-13T04:51:19+09:00 Subject: Re: gzip again... On Wed, Mar 13, 2002 at 02:04:19AM +0900, Massimiliano Mirra wrote: > But it won't allow me to read unless I close_write it first, after > which of course it is no longer possible to write to it, so the > following will hange at the first gz.read: Have you considered using popen3 instead of popen? require 'open3' in, out, err = Open3.popen3('ls -l') Paul