mirror of https://github.com/shirou/gopsutil
process: add CmdlineSlice function for linux + freebsd
This allows for getting more exact information about each argument especially if there are arguments that have spaces in them. This was not implemented for darwin or for windows because they both currently have not way of properly parsing the cmdline string. Darwin parses the output of 'ps' which is already whitespace segmented, and windows just has the cmdline string.pull/167/head
parent
3618a777a8
commit
b8c40ac83c
Loading…
Reference in New Issue