Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/tool/exec: Run does not exececute shell commands
It has always been an abstraction over os/exec.Command, that is, directly calling a program with some arguments and not a shell. The top-level godoc was misleading users into thinking they could use shell syntax like pipes or redirections. While here, make the cmd docs a bit clearer as well. Signed-off-by: Daniel Martí <mvdan@mvdan.cc> Change-Id: I8daa362deac7cb5380f39511f60908c9f13627b9 Dispatch-Trailer: {"type":"trybot","CL":1200524,"patchset":1,"ref":"refs/changes/24/1200524/1","targetBranch":"master"}
- Loading branch information