os/exec: include Cmd.Start in the list of methods that run Cmd
Fixes #76265
diff --git a/src/os/exec/exec.go b/src/os/exec/exec.go
index 38354a5..e84ebfc 100644
--- a/src/os/exec/exec.go
+++ b/src/os/exec/exec.go
@@ -142,8 +142,8 @@
// 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.
//
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
| Code-Review | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
os/exec: include Cmd.Start in the list of methods that run Cmd
Fixes #76265
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |