File: os_executable_pre18.go

package info (click to toggle)
golang-github-sevlyar-go-daemon 0.1.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 232 kB
  • sloc: makefile: 3
file content (11 lines) | stat: -rw-r--r-- 143 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
// +build !go1.8

package daemon

import (
	"github.com/kardianos/osext"
)

func osExecutable() (string, error) {
	return osext.Executable()
}