From: Simon Strandgaard Date: 2004-02-13T02:14:57+09:00 Subject: Re: capturing warnings On Thu, 12 Feb 2004 14:21:05 +0000, Chris Pine wrote: > Here's a method which executes the code in the string `code', giving it the > input from the array of strings `input' as it asks for it. The output is > captured, and so are any errors. [snip] open3 should do it. Its distributed with Ruby. However if you on windows you may check http://raa.ruby-lang.org/list.rhtml?name=win32_popen -- Simon Strandgaard