{"id":20764185,"url":"https://github.com/zitsen/tokio-process-terminate","last_synced_at":"2025-10-08T16:24:57.619Z","repository":{"id":206131921,"uuid":"715933079","full_name":"zitsen/tokio-process-terminate","owner":"zitsen","description":"Terminate or CTRL+C for tokio::process::Child","archived":false,"fork":false,"pushed_at":"2024-01-03T13:26:42.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-28T00:32:04.639Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zitsen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-08T05:59:04.000Z","updated_at":"2024-11-25T00:01:23.000Z","dependencies_parsed_at":"2025-09-28T00:31:45.829Z","dependency_job_id":"64e71791-d5d4-401c-95a3-2d591636534f","html_url":"https://github.com/zitsen/tokio-process-terminate","commit_stats":null,"previous_names":["zitsen/tokio-process-terminate"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/zitsen/tokio-process-terminate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zitsen%2Ftokio-process-terminate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zitsen%2Ftokio-process-terminate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zitsen%2Ftokio-process-terminate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zitsen%2Ftokio-process-terminate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zitsen","download_url":"https://codeload.github.com/zitsen/tokio-process-terminate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zitsen%2Ftokio-process-terminate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278734412,"owners_count":26036404,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-17T10:49:06.714Z","updated_at":"2025-10-08T16:24:57.603Z","avatar_url":"https://github.com/zitsen.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tokio-process-terminate\n\n\u003c!-- cargo-sync-readme start --\u003e\n\n\u003c!-- cargo-sync-readme --\u003e\nExtensions to `tokio::process::Child` to terminate processes.\n\n```rust\nuse tokio::process::Command;\nuse tokio_process_terminate::TerminateExt;\n\n#[tokio::main]\nasync fn main() {\n    let mut command = Command::new(\"sleep\")\n        .arg(\"10\")\n        .spawn()\n        .unwrap();\n    tokio::time::sleep(std::time::Duration::from_secs(1)).await;\n    let exit = command.terminate_wait().await.unwrap();\n    dbg!(exit);\n    let code = exit.code();\n    // On Unix, code should be `None` if the process was terminated by a signal.\n    assert!(code.is_none());\n}\n```\n\n\u003c!-- cargo-sync-readme end --\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzitsen%2Ftokio-process-terminate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzitsen%2Ftokio-process-terminate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzitsen%2Ftokio-process-terminate/lists"}