Process.redirectIO

Redirect a standard IO for the child to an FD

  1. void redirectIO(StdIO io, FD fd)
    struct Process
    nothrow @safe @nogc
    void
    redirectIO
  2. void redirectIO(StdIO io)

Parameters

io StdIO

which of the IO streams to redirect

fd FD

An fd to be assigned. Ownership is moved to the child

Meta