func (streamConfig *streamConfig) StderrPipe() io.ReadCloser { reader, writer := io.Pipe() streamConfig.stderr.Add(writer) return ioutils.NewBufReader(reader) }
func (streamConfig *StreamConfig) StderrLogPipe() io.ReadCloser { reader, writer := io.Pipe() streamConfig.stderr.AddWriter(writer, "stderr") return ioutils.NewBufReader(reader) }
func (streamConfig *StreamConfig) StderrPipe() (io.ReadCloser, error) { reader, writer := io.Pipe() streamConfig.stderr.AddWriter(writer, "") return ioutils.NewBufReader(reader), nil }