"Tom Felker" <tcfelker / mtco.com> schrieb im Newsbeitrag
news:1052427342.2330.61.camel / tom.felker.net...
> On Thu, 2003-05-08 at 10:52, Robert Klemme wrote:
> > What do people think about adding a method to class IO that returns an
IO
> > object for the platform dependend null device (NUL on win, /dev/null
or
> > /dev/zero on unix)?  Alternatively there could be a constant with the
> > platform dependent name of this device, if it can always be opened
like a
> > file on all supported platforms.
>
> /dev/null is great when the program doesn't have it's own way to discard
> data, but in this case, it might be easier and more cross-platform to
> simply have an IO object who's read and write do nothing.

This does not work with child processes that are no ruby processes.

    robert