| Crates.io | zygote |
| lib.rs | zygote |
| version | 0.1.2 |
| created_at | 2024-12-17 16:13:55.541812+00 |
| updated_at | 2025-01-17 16:59:21.508833+00 |
| description | A zygote process is a small process used primarily to create new processes. |
| homepage | https://github.com/jprendes/zygote |
| repository | https://github.com/jprendes/zygote |
| max_upload_size | |
| id | 1486427 |
| size | 40,318 |
zygotezygote is a library to create zygote processes on linux.
A zygote process is a small process used primarily to create new processes,
but can be used for anything that requires running things in a separate process.
To learn more about zygote processes check out these notes on Chromium.
use zygote::Zygote;
fn main() {
Zygote::init();
let pid = Zygote::global().run(|_| std::process::id(), ());
assert_ne!(pid, std::process::id());
}