zygote

Crates.iozygote
lib.rszygote
version0.1.2
created_at2024-12-17 16:13:55.541812+00
updated_at2025-01-17 16:59:21.508833+00
descriptionA zygote process is a small process used primarily to create new processes.
homepagehttps://github.com/jprendes/zygote
repositoryhttps://github.com/jprendes/zygote
max_upload_size
id1486427
size40,318
Jorge Prendes (jprendes)

documentation

README

zygote

zygote 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.

Getting started

use zygote::Zygote;
fn main() {
    Zygote::init();
    let pid = Zygote::global().run(|_| std::process::id(), ());
    assert_ne!(pid, std::process::id());
}
Commit count: 29

cargo fmt