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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?