mirror of https://github.com/shirou/gopsutil
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgrep -P $PID exits with status of 1 (and nothing in stdout nor stderr) both if a process doesn't exist or it doesn't have child processes, so we don't use it anymore on these OSes. We sort PIDs as pgrep did. Also deprecate the ErrorNoChildren error when there are no child processes, this is erroneous (simply check for the length of the returned slice, plus this is not an error per se), this was only returned on linux anyway. Fixes #1698 |
8 months ago | |
---|---|---|
.. | ||
binary.go | 12 months ago | |
common.go | 9 months ago | |
common_darwin.go | 12 months ago | |
common_freebsd.go | 12 months ago | |
common_linux.go | 11 months ago | |
common_netbsd.go | 12 months ago | |
common_openbsd.go | 12 months ago | |
common_test.go | 12 months ago | |
common_unix.go | 8 months ago | |
common_windows.go | 12 months ago | |
endian.go | 12 months ago | |
sleep.go | 12 months ago | |
sleep_test.go | 12 months ago | |
warnings.go | 12 months ago |