package osutil
import "go4.org/osutil"
Package osutil contains os level functions.
Index ¶
Functions ¶
func Executable ¶
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.
Source Files ¶
exec_procfs.go osutil.go
- Version
- v0.0.0-20230225012048-214862532bf5 (latest)
- Published
- Feb 25, 2023
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 1 month ago –
Tools for package owners.