mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
4bfc3a9d14
commit
65858a146e
1 changed files with 2 additions and 2 deletions
|
|
@ -142,8 +142,8 @@ func (w wrappedError) Unwrap() error {
|
||||||
|
|
||||||
// Cmd represents an external command being prepared or run.
|
// Cmd represents an external command being prepared or run.
|
||||||
//
|
//
|
||||||
// A Cmd cannot be reused after calling its [Cmd.Run], [Cmd.Output] or [Cmd.CombinedOutput]
|
// A Cmd cannot be reused after calling its [Cmd.Start], [Cmd.Run],
|
||||||
// methods.
|
// [Cmd.Output], or [Cmd.CombinedOutput] methods.
|
||||||
type Cmd struct {
|
type Cmd struct {
|
||||||
// Path is the path of the command to run.
|
// Path is the path of the command to run.
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue