Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
I've pushed patch adding a slightly incorrectly named:
manageSpawnWithGC :: ([(ProcessID, ManageHook)] -> X [(ProcessID, ManageHook)])
-> ManageHook
Some options for the first argument are:
f1 = return -- never delete anything old
f2 = return . take 100 -- keep 100
f3 xs = do -- keep roughly the number of processes you have
ps <- readProcess "ps" ["u"] ""
return (take (length (lines ps)) xs)
Original comment by vogt.a...@gmail.com
on 14 Jan 2013 at 1:57
That fixed the issue. Thanks.
Original comment by kag...@genshiken.org
on 14 Jan 2013 at 5:30
Original issue reported on code.google.com by
kag...@genshiken.org
on 13 Jan 2013 at 5:34