• C
    process: add CmdlineSlice function for linux + freebsd · b8c40ac8
    Chris Gilling 提交于
    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.
    b8c40ac8
process_windows.go 8.5 KB