mirror of
https://github.com/golang/go
synced 2024-11-23 19:30:05 -07:00
Document that cmd.Start() sets the Process field.
I think this is also what the comment next to the process filed means.
This commit is contained in:
parent
8054b13536
commit
3aa520a89f
@ -369,6 +369,8 @@ func lookExtensions(path, dir string) (string, error) {
|
||||
|
||||
// Start starts the specified command but does not wait for it to complete.
|
||||
//
|
||||
// If Start returns successfully, the Process field will be set.
|
||||
//
|
||||
// The Wait method will return the exit code and release associated resources
|
||||
// once the command exits.
|
||||
func (c *Cmd) Start() error {
|
||||
|
Loading…
Reference in New Issue
Block a user