Skip to content

Commit 65858a1

Browse files
seankhliaoadonovan
authored andcommitted
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 <[email protected]> Reviewed-by: Alan Donovan <[email protected]> Auto-Submit: Keith Randall <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Keith Randall <[email protected]>
1 parent 4bfc3a9 commit 65858a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/os/exec/exec.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ func (w wrappedError) Unwrap() error {
142142

143143
// Cmd represents an external command being prepared or run.
144144
//
145-
// A Cmd cannot be reused after calling its [Cmd.Run], [Cmd.Output] or [Cmd.CombinedOutput]
146-
// methods.
145+
// A Cmd cannot be reused after calling its [Cmd.Start], [Cmd.Run],
146+
// [Cmd.Output], or [Cmd.CombinedOutput] methods.
147147
type Cmd struct {
148148
// Path is the path of the command to run.
149149
//

0 commit comments

Comments
 (0)