Versions in this module Expand all Collapse all v1 v1.0.0 Feb 3, 2020 Changes in this version + const ERROR_NO_MORE_FILES — windows/amd64 + const MAX_PATH — windows/amd64 + type DarwinProcess struct — darwin/amd64 + func (p *DarwinProcess) Executable() string + func (p *DarwinProcess) PPid() int + func (p *DarwinProcess) Pid() int + type PROCESSENTRY32 struct — windows/amd64 + CntThreads uint32 + CntUsage uint32 + DefaultHeapID uintptr + ExeFile [MAX_PATH]uint16 + Flags uint32 + ModuleID uint32 + ParentProcessID uint32 + PriorityClassBase int32 + ProcessID uint32 + Size uint32 + type Process interface + Executable func() string + PPid func() int + Pid func() int + func FindProcess(pid int) (Process, error) + func Processes() ([]Process, error) + type UnixProcess struct — linux/amd64 + func (p *UnixProcess) Executable() string + func (p *UnixProcess) PPid() int + func (p *UnixProcess) Pid() int + func (p *UnixProcess) Refresh() error + type WindowsProcess struct — windows/amd64 + func (p *WindowsProcess) Executable() string + func (p *WindowsProcess) PPid() int + func (p *WindowsProcess) Pid() int