Exec runs a single external command.
(argv ...string)
| 33 | |
| 34 | // Exec runs a single external command. |
| 35 | func Exec(argv ...string) error { |
| 36 | _, err := Pipeline([][]string{argv}) |
| 37 | return err |
| 38 | } |
| 39 | |
| 40 | // ExecWithOpts runs a single external command with the given options. |
| 41 | func ExecWithOpts(argv []string, opts CmdOpts) error { |