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: document how Run.cmd works with string versus list
In particular, that the string form is only meant for basic use cases, and the list form is necessary if any arguments must contain whitespace. If users continue to get confused or bitten by its behavior, we can later deprecate it in favor of the list form, teaching `cue fix` to rewrite existing code. For now, we continue to support the string form with the better docs, as doing anything else right away seems a bit premature. Fixes #3238. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I8e85aa75658bc9577647d993f82a54dca844e46d Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1197453 Reviewed-by: Roger Peppe <[email protected]> Unity-Result: CUE porcuepine <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information