From: Nikodemus Siivola Date: 2002-05-24T21:44:08+09:00 Subject: Re: OS independent scripts, system calls on Windows and Linux On Fri, 24 May 2002, Tobias Reif wrote: > I'd like to have a way more platform independent system call mechanism, > in Ruby itself or in the std lib, which returns either nil, an Error > object of some sort, or a Stdout object of some kind, so I can simply > write something like Check IO.popen (builtin), and open3.rb (standard library). They both do what you want, with IO.popen providin stdin & stdout to a separate process, and open3.rb providing stderr as well. -- Nikodemus