From: kjana@... (YANAGAWA Kazuhisa) Date: 2001-03-09T21:27:22+09:00 Subject: [ruby-talk:12323] Re: How to pipe to an application? In message jim@freeze.org writes: > I want to be able to write(print) to an application. I'v seen something > like this in perl with > > open("| app") And you can do so too in ruby :-) Object#open which is actually Kernel.open implements this trick. Parameters for the command can be written such as `open("| cat foo")'. Of course other's saying on IO.popen is correct and that may be preferable if you want not to use function-like method. -- kjana@os.xaxon.ne.jp March 9, 2001 Speech is silver, silence is golden.