1. 29 2月, 2016 1 次提交
    • C
      process: add CmdlineSlice for darwin + windows · 8c186ae5
      Chris Gilling 提交于
      darwin will not perform correctly if there are spaces in the actual
      arguments, in which case a single argument will be reported as
      multple. Some CGO would be needed to get around this I think.
      
      I couldn't find any good documentation on how windows handles
      command line arguments with spaces inside the actual arguments, so
      this implementation merely just splits on spaces.
      8c186ae5
  2. 28 2月, 2016 2 次提交
    • C
      process: fix bug in CmdlineSlice where cmdline is empty · d098bf13
      Chris Gilling 提交于
      Sometimes (at least on linux) cmdline is empty, this was causing
      a panic.
      d098bf13
    • 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
  3. 27 2月, 2016 1 次提交
  4. 24 2月, 2016 2 次提交
  5. 23 2月, 2016 1 次提交
  6. 22 2月, 2016 7 次提交
  7. 21 2月, 2016 2 次提交
  8. 20 2月, 2016 7 次提交
  9. 17 2月, 2016 3 次提交
  10. 12 2月, 2016 14 次提交