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
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1200524
Reviewed-by: Matthew Sackman <matthew@cue.works>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>