go4.org: go4.org/osutil Index | Files

package osutil

import "go4.org/osutil"

Package osutil contains os level functions.

Index

Package Files

exec_procfs.go osutil.go

func Executable Uses

func Executable() (string, error)

Executable returns the path name for the executable that starts the current process. The result is the path that was used to start the current process, but there is no guarantee that the path is still pointing to the correct executable.

OpenBSD is currently unsupported.

Package osutil imports 4 packages (graph) and is imported by 1 packages. Updated 2016-07-18. Refresh now. Tools for package owners.