From: Sean Liao Date: Tue, 11 Nov 2025 21:08:26 +0000 (+0000) Subject: os/exec: include Cmd.Start in the list of methods that run Cmd X-Git-Tag: go1.26rc1~323 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=65858a146e;p=gostls13.git 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 Reviewed-by: Alan Donovan Auto-Submit: Keith Randall LUCI-TryBot-Result: Go LUCI Reviewed-by: Keith Randall --- 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. //