From: gotoken@... Date: 2002-01-10T07:14:03+09:00 Subject: Re: IO.popen not the same as Open3.popen3 ?? In message "IO.popen not the same as Open3.popen3 ??" on Thu, 10 Jan 2002 06:27:25 +0900, Jim Freeze writes: > I can't seem to get Open3.popen3 to work the same > as IO.popen, ie, I can't get it to accept a command > with commandline arguments. Open3::popen3(*cmd) doesn't take read/write mode option because that invokes `exec(*cmd)'. If you would like to know more details, it is not bad idea to read open3.rb . open3.rb is relatively short and uses standard technics. Btw, the behavior of Kernel::exec() is complex a little. See also http://www.rubycentral.com/book/ref_m_kernel.html#Kernel.exec Hope this helps, -- Gotoken