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. -- matt neuburg, phd = matt / tidbits.com, http://www.tidbits.com/matt/ Tiger - http://www.takecontrolbooks.com/tiger-customizing.html AppleScript - http://www.amazon.com/gp/product/0596102119 Read TidBITS! It's free and smart. http://www.tidbits.com