mirror of https://github.com/shirou/gopsutil
Fix process.Exe() on macOS 10.12
The `lsof` command on macOS < 10.12 always selects the `p` field when using the `-F` option. On macOS 10.12 the `f` field is also always selected causing an incorrect result. This modification adds both options which are always selected to maintain consistency.pull/402/head
parent
66b0ca3121
commit
9c998f664a
Loading…
Reference in New Issue