cosca
Unified cross-platform subprocess management: spawning, stdio, process trees, stable identity, and elevation.
std::process hands you a child and little else. It cannot tell you whether the process you spawned is still the process you think it is, cannot tear down a process tree, cannot address a process it did not spawn, and cannot run one elevated. This crate covers those, with one API across Linux, macOS, and Windows, and a tokio mirror behind a feature flag.
The API is not stable; expect breaking changes in any 0.x release.
License
Copyright 2026, Anna Zhukova
This project is licensed under the Apache 2.0 license. The license text can be found at LICENSE.
src/quote/posix.rs is a Rust port of the internal/foundation/shlex package from JetBrains qodana-cli, used under that project's Apache 2.0 license.