k3s/vendor/github.com/kardianos/osext
Jeff Grafton aee5f457db update BUILD files 2017-10-15 18:18:13 -07:00
..
BUILD update BUILD files 2017-10-15 18:18:13 -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.