Documentation
¶
Overview ¶
Package executable has functions to return the executable path or directory and other process testing functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinaryDuplicateProcessIDs ¶
BinaryDuplicateProcessIDs returns all pids belonging to processes with the same passed binary name.
func DuplicateProcessIDs ¶
DuplicateProcessIDs returns all pids belonging to processes with the same binary name as the running program.
func FindDuplicateProcess ¶
FindDuplicateProcess looks for any other processes with the same binary name as passed in and returns the first one found.
func NowRunning ¶
func NowRunning() bool
NowRunning returns true if there is a running process whose binary has the same name as this one.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.