1 2 3 4 5 6 7 8 9 10 11 12 13
use heim_common::prelude::*; use heim_runtime::{self as runtime, SyncRuntime}; use heim_process as process; fn main() -> Result<()> { let mut rt = runtime::new()?; for pid in rt.block_collect(process::pids()) { dbg!(pid); } Ok(()) }