Versions in this module Expand all Collapse all v2 v2.1.1 Oct 6, 2026 v2.1.0 Oct 6, 2026 Changes in this version + var ErrProcessNotFound = errors.New("process not found") + func IsProcessRunning(pid int) bool + func ProcessCommandLine(int) ([]string, error) — darwin/amd64, js/wasm, windows/amd64 + func ProcessCommandLine(pid int) ([]string, error) — linux/amd64 + func ProcessImagePath(int) (string, error) — darwin/amd64, js/wasm + func ProcessImagePath(pid int) (string, error) — linux/amd64, windows/amd64 + func ProcessStartFingerprint(int) string — darwin/amd64, js/wasm + func ProcessStartFingerprint(pid int) string — linux/amd64, windows/amd64 + func RemovePidFile(homePath string) + func RemovePidFileIfPID(homePath string, expectedPID int) bool + type PidFileData struct + Host string + PID int + Port int + Token string + Version string + func ReadPidFileWithCheck(homePath string) *PidFileData + func WritePidFile(homePath, host string, port int) (*PidFileData, error) Other modules containing this package github.com/xibodev/compa