[exerb-eng:0044] Re: STDOUT and STDERR access

アーカイブの一覧に戻る

Yuya Kato yuya-****@4th*****
Tue Feb 10 22:47:45 JST 2004


On Wed, 4 Feb 2004 16:16:53 -0500
Nathaniel Talbott <natha****@talbo*****> wrote:

>    STDOUT.reopen("somefile")
>    STDERR.reopen("somefile")
> 
> But it doesn't work, unfortunately. 
In GUI core, 'reopen' method is not supported now, sorry.

> Are there any other options for capturing STDOUT and
> STDERR with a GUI core?
I think that it is possible by overwriting some methods of STDOUT.
But it's troublesomeness, and not simpleness...
Ummmm...

  def STDOUT.write(...)
    ...
  end

====== Yuya Kato ======
E-Mail yuya****@katod*****
   Web http://nuance.cc/
i-mode http://nuance.cc/i/




More information about the exerb-english mailing list
アーカイブの一覧に戻る