psutil-nim might help you get started, specifically the pids function. It gets a list of process IDs on Linux and, within the last few weeks Windows, as shown in the second link.
You may have to build right from Github because I think the release in nimble doesn't include Windows support yet. I added most of the Windows functions there within the last 3 weeks.
It doesn't have the Process code like psutil does in Python, but if you're comfortable with Linux or Windows system programming, adding it shouldn't be months of work. PRs welcome of course.
What kind of information are you looking to get from a Process?
Hi, Thank you for the quick reply.
I'm looking for read/write from/to process memory, tokens, loaded dlls and such.