k3s/vendor/github.com/kardianos/osext
Jeff Grafton 23ceebac22 Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
..
BUILD Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
LICENSE Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00
README.md Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00
osext.go Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00
osext_plan9.go Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00
osext_procfs.go Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00
osext_sysctl.go Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00
osext_windows.go Move deps from _workspace/ to vendor/ 2016-05-08 20:30:21 -07:00

README.md

Extensions to the "os" package.

Find the current Executable and ExecutableFolder.

There is sometimes utility in finding the current executable file that is running. This can be used for upgrading the current executable or finding resources located relative to the executable file.

Multi-platform and supports:

  • Linux
  • OS X
  • Windows
  • Plan 9
  • BSDs.