diff options
| author | Sean Liao <sean@liao.dev> | 2025-11-11 21:08:26 +0000 |
|---|---|---|
| committer | Alan Donovan <adonovan@google.com> | 2025-11-12 07:27:58 -0800 |
| commit | 65858a146e585b74d41db63f3821d6a150f36d49 (patch) | |
| tree | 9b8a23db09b3784e21f80a833129b87b2ac3e68c /src/os/exec/exec.go | |
| parent | 4bfc3a9d14c0b3bfcfe4ce987e47cda6720785a2 (diff) | |
| download | go-65858a146e585b74d41db63f3821d6a150f36d49.tar.xz | |
os/exec: include Cmd.Start in the list of methods that run Cmd
Fixes #76265
Change-Id: I451271c5662dd3bcdeec07b55761b15f64c00dcd
Reviewed-on: https://go-review.googlesource.com/c/go/+/719860
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
Auto-Submit: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/os/exec/exec.go')
| -rw-r--r-- | src/os/exec/exec.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/exec/exec.go b/src/os/exec/exec.go index 38354a5244..e84ebfc453 100644 --- a/src/os/exec/exec.go +++ b/src/os/exec/exec.go @@ -142,8 +142,8 @@ func (w wrappedError) Unwrap() error { // Cmd represents an external command being prepared or run. // -// A Cmd cannot be reused after calling its [Cmd.Run], [Cmd.Output] or [Cmd.CombinedOutput] -// methods. +// A Cmd cannot be reused after calling its [Cmd.Start], [Cmd.Run], +// [Cmd.Output], or [Cmd.CombinedOutput] methods. type Cmd struct { // Path is the path of the command to run. // |
