Process.redirectIO

Redirect a standard IO for the child to a pipe

Redirects the child's IO to a pipe whose other side is accessible by the parent. After running, the other end of the pipe will be available as stdIO[io]

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

Parameters

io StdIO

which of the IO streams to redirect

Meta