Home | History | Annotate | Download | only in exec

Lines Matching defs:stdout

6 // easier to remap stdin and stdout, connect I/O with pipes, and do other
93 // Stdout and Stderr specify the process's standard output and error.
106 // If Stdout and Stderr are the same writer, and have a type that can
108 Stdout io.Writer
242 func (c *Cmd) stdout() (f *os.File, err error) {
243 return c.writerDescriptor(c.Stdout)
247 if c.Stderr != nil && interfaceEqual(c.Stderr, c.Stdout) {
291 // copying stdin, stdout, and stderr, and exits with a zero exit
367 for _, setupFd := range []F{(*Cmd).stdin, (*Cmd).stdout, (*Cmd).stderr} {
436 // stdin or copying from stdout or stderr to complete.
441 // copying stdin, stdout, and stderr, and exits with a zero exit
448 // If any of c.Stdin, c.Stdout or c.Stderr are not an *os.File, Wait also waits
489 if c.Stdout != nil {
490 return nil, errors.New("exec: Stdout already set")
492 var stdout bytes.Buffer
493 c.Stdout = &stdout
506 return stdout.Bytes(), err
512 if c.Stdout != nil {
513 return nil, errors.New("exec: Stdout already set")
519 c.Stdout = &b
574 if c.Stdout != nil {
575 return nil, errors.New("exec: Stdout already set")
584 c.Stdout = pw