aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/exec/exec.go')
-rw-r--r--src/os/exec/exec.go4
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.
//