mirror of
https://github.com/golang/go
synced 2024-11-23 20:30:04 -07:00
os/exec: Document the fact that Cmd cannot be reused.
Update #10305 Change-Id: Iea04758bc200038a1c64457a68100dcdd7f75212 Reviewed-on: https://go-review.googlesource.com/9440 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
4b78c9575d
commit
1203420890
@ -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.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user