process_list 0.1.0

Crate for listing the processes open in the OS, usually for retrieving their ID by their name.
Documentation
1
2
3
4
5
6
7
use process_list::for_each_process;

#[test]
fn print_stuff() {
    env_logger::init();
    for_each_process(|id, name| println!("{} - {}", id, name)).unwrap();
}