From: Massimiliano Mirra Date: 2002-03-13T02:04:17+09:00 Subject: Re: gzip again... On Tue, Mar 12, 2002 at 11:30:40PM +0900, ts wrote: > M> IO.popen('gzip -dc', 'w+') do |gz| > M> gz.syswrite(data) > M> gz.close_write > M> end > What do you want to do with 'w+' ? Write to it the data to be uncompressed and read the uncompressed data back. > M> The above code just hangs everything. From a console, gzip -dc > M> works just fine. > gz is open read/write, and it block for this reason It will send the uncompressed data to the console if open in write only. Is there no way to accomplish this? Massimiliano