From: hipster Date: 2000-12-08T00:47:19+09:00 Subject: [ruby-talk:6901] Re: Catching stdout and stderr On Fri, 08 Dec 2000 00:40:01 +0900, Clemens Wyss wrote: > Hi, > can anybody tell me how to execute a shell command and "catching" the > output being made to ($)stderr and ($)stdout? > IO.popen() only seems to be fetching the stdout-output. Take a look at the module Open3 in the std library. It provides a method open3 which probably does what you want. Michel