mirror of https://github.com/k3s-io/k3s
15 lines
367 B
Markdown
15 lines
367 B
Markdown
![]() |
### 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.
|