Exec creates a pipe that runs cmdLine as an external command and produces its combined output (interleaving standard output and standard error). See [Pipe.Exec] for error handling details. Use [Pipe.Exec] to send the contents of an existing pipe to the command's standard input.
(cmdLine string)
| 64 | // Use [Pipe.Exec] to send the contents of an existing pipe to the command's |
| 65 | // standard input. |
| 66 | func Exec(cmdLine string) *Pipe { |
| 67 | return NewPipe().Exec(cmdLine) |
| 68 | } |
| 69 | |
| 70 | // File creates a pipe that reads from the file path. |
| 71 | func File(path string) *Pipe { |
searching dependent graphs…