github.com/dvln/osext@v0.0.0-20161024010124-4ddb9cd3c863/README.md (about) 1 ### Extensions to the "os" package. 2 3 [![GoDoc](https://godoc.org/github.com/kardianos/osext?status.svg)](https://godoc.org/github.com/kardianos/osext) 4 5 ## Find the current Executable and ExecutableFolder. 6 7 There is sometimes utility in finding the current executable file 8 that is running. This can be used for upgrading the current executable 9 or finding resources located relative to the executable file. Both 10 working directory and the os.Args[0] value are arbitrary and cannot 11 be relied on; os.Args[0] can be "faked". 12 13 Multi-platform and supports: 14 * Linux 15 * OS X 16 * Windows 17 * Plan 9 18 * BSDs.