Echo creates a pipe containing the string s.
(s string)
| 54 | |
| 55 | // Echo creates a pipe containing the string s. |
| 56 | func Echo(s string) *Pipe { |
| 57 | return NewPipe().WithReader(strings.NewReader(s)) |
| 58 | } |
| 59 | |
| 60 | // Exec creates a pipe that runs cmdLine as an external command and produces |
| 61 | // its combined output (interleaving standard output and standard error). See |
searching dependent graphs…