proc 0.0.5 → 0.0.6
raw patch · 2 files changed
+2/−2 lines, 2 files
Files
- System/Linux/Proc.hs +1/−1
- proc.cabal +1/−1
System/Linux/Proc.hs view
@@ -129,7 +129,7 @@ cmdline <- procGetCmdlineInfo pid -- Get command name.- let cmdStr = head $ splitOn "\0" cmdline -- split with null separated string+ let cmdStr = head $ splitOneOf "\0 " cmdline -- split with null separated or blank character command = -- Because name in /proc/pid/stat has number limit, -- so we try to use name in /proc/pid/cmdline.
proc.cabal view
@@ -1,5 +1,5 @@ name: proc-version: 0.0.5+version: 0.0.6 Cabal-Version: >= 1.8 license: GPL-3 license-file: LICENSE