Nick -

Thanks for your response. Your pointer led me to the code I needed to
redirect the standard output.

Apparently, redirecting the standard output in either 'jirb' or 'irb'
causes some problems. I'm not sure of the root of the problems in
'jirb' or 'irb' but thankfully the code you pointed me at solves my
problem.

Thanks - AYAL

On 10/16/07, Nick Sieger <[EMAIL PROTECTED]> wrote:
> On 10/13/07, Ayal Spitz <[EMAIL PROTECTED]> wrote:
> > Does anyone know how to redirect the standard output of JRuby? I've
> > attempted to set $stdout but JRuby throws an exception. Any ideas
> > would be welcome.
>
> What's the exception? This code [1] in the JRuby tests works fine...
>
> /Nick
>
> [1] 
> http://svn.jruby.codehaus.org/browse/jruby/trunk/jruby/test/testStruct.rb?r=4564#l57
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to