]> Cypherpunks repositories - gostls13.git/commit
os/exec: remove "binary" when talking about executables
authorTim Cooper <tim.cooper@layeh.com>
Sat, 27 Jan 2018 02:29:55 +0000 (22:29 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 17 Apr 2018 05:05:45 +0000 (05:05 +0000)
commit155aefe0c182f3788e44596db5f09cf94d2c6a3e
tree6b27d9146252ba957f361baa71a3fca058f96dc0
parentd0925228d7171eb074902a53249bccfbda51abea
os/exec: remove "binary" when talking about executables

The use of binary was incorrect as executable files can also be scripts.

The docs for Error are also reworded. The old docs implied that Error was
returned when attempting to start an executable, which is not correct: it
was returned by LookPath when the file was not found or did not have the
attributes of an executable.

Change-Id: I757a44b16612936df4498b43c45c12e4c14956d2
Reviewed-on: https://go-review.googlesource.com/90315
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/os/exec/exec.go
src/os/exec/exec_test.go
src/os/exec/lp_plan9.go
src/os/exec/lp_unix.go
src/os/exec/lp_windows.go