Skip to content
FutureBlitz

    Install

    Import std.os.process_child

    ChildInput

    std.os.process_child

    class

    Public Class ChildInput Implements Writer

    A child's stdin, which writes to what it reads. Bytes go to the child as they're written, and Write returns once they have.

    std/os/process_child.fb, line 134

    • Public Method Write(from: Buffer<UInt8>) Throws IOError method #

      Writes from's bytes to the child's stdin. Throws an IOError once the stream is closed, or the child has gone.

    • Public Async Method WriteAsync(from: Buffer<UInt8>) Throws IOError method #

      Write's Async twin, which writes on the I/O thread while the main thread goes on.

    • Public Method Close() method #

      Closes it once what's written has gone, so the child reads to its end. Closing it again does nothing.

    Report an issue with this page or with FutureBlitz on GitHub.