Versions in this module Expand all Collapse all v1 v1.0.2 Jun 26, 2024 Changes in this version + func ClearKeepCaps() error + func Exec(cmd string, args []string, env []string) error + func SetKeepCaps() error + func SetParentDeathSignal(sig uintptr) error + func Setctty() error + type ParentDeathSignal int + func GetParentDeathSignal() (ParentDeathSignal, error) + func (p ParentDeathSignal) Restore() error + func (p ParentDeathSignal) Set() error + type Stat_t struct + Name string + StartTime uint64 + State State + func Stat(pid int) (stat Stat_t, err error) + type State rune + const Dead + const DiskSleep + const Idle + const Parked + const Running + const Sleeping + const Stopped + const TracingStop + const Zombie + func (s State) String() string