{"id":20667005,"url":"https://github.com/lu-zero/wait4-rs","last_synced_at":"2025-10-05T21:28:07.218Z","repository":{"id":57671841,"uuid":"357281422","full_name":"lu-zero/wait4-rs","owner":"lu-zero","description":"Rust idiomatic wrapper around wait4","archived":false,"fork":false,"pushed_at":"2021-09-06T13:15:49.000Z","size":12,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-14T08:53:09.123Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lu-zero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-12T17:26:25.000Z","updated_at":"2023-09-19T10:44:34.000Z","dependencies_parsed_at":"2022-08-30T19:21:36.241Z","dependency_job_id":null,"html_url":"https://github.com/lu-zero/wait4-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Fwait4-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Fwait4-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Fwait4-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Fwait4-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lu-zero","download_url":"https://codeload.github.com/lu-zero/wait4-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224656365,"owners_count":17348133,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T19:42:34.588Z","updated_at":"2025-10-05T21:28:02.182Z","avatar_url":"https://github.com/lu-zero.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust idiomatic binding to wait4\n[![crates.io](https://img.shields.io/crates/v/wait4.svg)](https://crates.io/crates/wait4)\n[![docs.rs](https://docs.rs/mio/badge.svg)](https://docs.rs/wait4)\n\n``` rust\nuse std::process::Command;\nuse wait4::Wait4;\n\nlet cmd = Command::new(command);\n\n// ...\nlet mut child = cmd.spawn().unwrap();\n\nlet r = child.wait4().unwrap();\n```\n\n## Status\n\n- [x] Unix-like using `libc::wait4` or `libc::getrusage`\n- [x] Windows using `winapi::um::processthreadsapi::GetProcessTimes` and `winapi::um::psapi::GetProcessMemoryInfo`.\n- [x] Proper documentation\n\n## License\n\n[MIT](https://spdx.org/licenses/MIT), the windows code is partially from [hyperfine](https://github.com/sharkdp/hyperfine).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flu-zero%2Fwait4-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flu-zero%2Fwait4-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flu-zero%2Fwait4-rs/lists"}