Commit 12034208 authored by Benny Siegert's avatar Benny Siegert Committed by Minux Ma

os/exec: Document the fact that Cmd cannot be reused.

Update #10305

Change-Id: Iea04758bc200038a1c64457a68100dcdd7f75212
Reviewed-on: https://go-review.googlesource.com/9440Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 4b78c957
......@@ -32,6 +32,9 @@ func (e *Error) Error() string {
}
// Cmd represents an external command being prepared or run.
//
// A Cmd cannot be reused after calling its Run, Output or CombinedOutput
// methods.
type Cmd struct {
// Path is the path of the command to run.
//
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment