diff options
| author | Rob Pike <r@golang.org> | 2012-02-20 15:36:08 +1100 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2012-02-20 15:36:08 +1100 |
| commit | b5a3bd5ff6f735f39a312a43d3f0a647f4d76590 (patch) | |
| tree | b9b7bf2552f1f876bf6429d0208a1541e645c26d /src/pkg/os/exec | |
| parent | a9e57f743d658ba27d3165dc6841915b12a98879 (diff) | |
| download | go-b5a3bd5ff6f735f39a312a43d3f0a647f4d76590.tar.xz | |
os: drop the Wait function and the options to Process.Wait
They are portability problems and the options are almost always zero in practice anyway.
R=golang-dev, dsymonds, r, bradfitz
CC=golang-dev
https://golang.org/cl/5688046
Diffstat (limited to 'src/pkg/os/exec')
| -rw-r--r-- | src/pkg/os/exec/exec.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/os/exec/exec.go b/src/pkg/os/exec/exec.go index fe25467216..248d97d458 100644 --- a/src/pkg/os/exec/exec.go +++ b/src/pkg/os/exec/exec.go @@ -291,7 +291,7 @@ func (c *Cmd) Wait() error { return errors.New("exec: Wait was already called") } c.finished = true - msg, err := c.Process.Wait(0) + msg, err := c.Process.Wait() c.Waitmsg = msg var copyError error |
