Skip to content
FutureBlitz

    Install

    Import std.os.process_child

    ChildOutput

    std.os.process_child

    class

    Public Class ChildOutput Implements Reader

    A child's stdout or stderr, which reads what it writes there, as it comes, until it ends or closes it.

    std/os/process_child.fb, line 175

    • Public Method Read(into: Buffer<UInt8>): Int64 Throws IOError method #

      Reads up to into.Count bytes of what the child wrote into the start of into, waiting while it's written nothing new, and gives how many, or 0 once the child has closed the stream.

    • Public Async Method ReadAsync(into: Buffer<UInt8>): Int64 Throws IOError method #

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

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