Commit Graph

7 Commits (10d9c04c2e6ba871b3f32f1dab3889fa0016960c)

Author SHA1 Message Date
shirou bc060cc227 add SPDX License, remove old build tag, and replace import 10 months ago
Ville Skyttä f7e1f36418 refactor: remove unnecessary exec.LookPath calls
Executing the command does the lookup if needed and returns the same
error when not found, no need to do it separately.
3 years ago
mmorel-35 1e6b445a8a gofumpt 3 years ago
Segflow 86c7289ccc Fix: use filename in exec.LookPath instead of full path
exec.LookPath searches for the file in the $PATH, which mean giving it an absolute path is against it's own purposes.
6 years ago
Michael Schurter 042305ee4a Remove SetEnv on all platforms 8 years ago
Sean Chittenden 635b971c0e
Move from the `syscall` package to the `golang.org/x/sys/{unix,windows}` 8 years ago
Marco Pfatschbacher b4846b445b Add support for OpenBSD/amd64
This code is based on the FreeBSD version
and implements roughly the same feature set.
8 years ago