Closed enthus1ast closed 5 years ago
z@z ~/.n/p/psutil-0.5.0> nim c psutil_posix.nim Hint: used config file '/home/z/Nim/config/nim.cfg' [Conf] Hint: system [Processing] Hint: psutil_posix [Processing] Hint: posix [Processing] Hint: times [Processing] Hint: strutils [Processing] Hint: parseutils [Processing] Hint: math [Processing] Hint: algorithm [Processing] Hint: tables [Processing] Hint: hashes [Processing] Hint: common [Processing] Hint: nativesockets [Processing] Hint: os [Processing] Hint: ospaths [Processing] Hint: options [Processing] Hint: typetraits [Processing] psutil_posix.nim(89, 24) Error: type mismatch: got (int, int literal(0)) but expected one of: proc kill(a1: Pid; a2: cint): cint
The library is updated and mantained at https://github.com/juancarlospaco/psutil-nim
This bug has been corrected there.