matt neuburg wrote:
> Hans Fugal <fugalh / zianet.com> wrote:
> 
>> I want to pipe two system commands together from within ruby. cmd1 and
>> cmd2 are arrays, e.g.
>>
>> cmd1 = ['oggdec','-o','-',oldpath]
>> cmd2 = ['lame','-',newpath]
> 
> I don't know about the arrays, but you can say IO.popen ("oggdec |
> lame").... m.
> 

Yeah, that won't work here (unless there's a reliable way to 
shell-quote/escape oldpath and newpath).