]> Cypherpunks repositories - gostls13.git/commit
exec: change exec.PathError to exec.Error
authorRob Pike <r@golang.org>
Thu, 2 Jun 2011 21:48:06 +0000 (07:48 +1000)
committerRob Pike <r@golang.org>
Thu, 2 Jun 2011 21:48:06 +0000 (07:48 +1000)
commit4e9e92500249258e9baa77fbaf8075f0c07e56b2
treee8fe1056eb49d3d63e3417a61828829bd71eee67
parent31c79c4effb40ea938d2c740ad7149e4ac4a45a6
exec: change exec.PathError to exec.Error
There were two issues:
1) It might not be a path error, it might be 'permission denied'.
2) The concept of $PATH is Unix-specific.

R=alex.brainman, rsc, r, mattn.jp
CC=golang-dev
https://golang.org/cl/4530096
src/pkg/exec/exec.go
src/pkg/exec/lp_test.go
src/pkg/exec/lp_unix.go
src/pkg/exec/lp_windows.go