From: Massimiliano Mirra Date: 2002-03-12T09:50:52+09:00 Subject: Re: IO.popen not redirecting stdout? On Tue, Mar 12, 2002 at 09:05:30AM +0900, Massimiliano Mirra wrote: > Isn't the code below supposed to never show anything? > IO.popen('gzip -d', 'w') do |gzip| > gzip.write data > end > I'm sure I'm missing something trivial, but what? Nevermind. 'w+' does it. Massimiliano