From: Daniel N Date: 2006-09-20T09:51:24+09:00 Subject: Re: piping input when shelling out ------=_Part_345003_6467757.1158713480972 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 9/20/06, Caio Chassot wrote: > > Hi all, > > I want to use Kernel#system or one of its friends to manipulate some > data I have in a ruby string. Ideally, I'd want the executed command > to read the string from stdin, as if ruby had piped the data to it. > The data may be reasonably large. Any tips? > > thanks > > You could try using IO#popen The docs are at http://www.ruby-doc.org/core/classes/IO.html#M001247 Hope this is what your after. ------=_Part_345003_6467757.1158713480972--