osext

Extensions to the standard "os" package. Executable and ExecutableFolder.

Github星跟踪图

Extensions to the "os" package.

GoDoc

Find the current Executable and ExecutableFolder.

As of go1.8 the Executable function may be found in os. The Executable function
in the std lib os package is used if available.

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. Both
working directory and the os.Args[0] value are arbitrary and cannot
be relied on; os.Args[0] can be "faked".

Multi-platform and supports:

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

主要指标

概览
名称与所有者kardianos/osext
主编程语言Go
编程语言Go (语言数: 1)
平台
许可证BSD 3-Clause "New" or "Revised" License
所有者活动
创建于2015-02-22 22:40:07
推送于2019-02-22 17:33:27
最后一次提交2019-02-22 17:33:26
发布数0
用户参与
星数441
关注者数17
派生数65
提交数37
已启用问题?
问题数25
打开的问题数1
拉请求数6
打开的拉请求数1
关闭的拉请求数3
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?