windows-spawn
Windows process creation with explicit handle transfer, ordered Job attachment, mitigation policies, ConPTY, and suspended inspection.
Use and platform
Use std::process::Command for portable child processes. Use this crate for
CreateProcessW features that require explicit ownership and rollback.
The crate requires Windows 10 version 1809 or later and Rust 1.75 or later. Non-Windows targets expose no public API.
This project is not affiliated with Microsoft or the windows-rs project. The
windows- prefix describes the target platform, not the publisher.
Installation
cargo add windows-spawn
Minimal example
use ;
let mut command = new;
command.args.raw_arg;
let output = command.output_with?;
assert!;
# Ok::
Documentation
License
Apache-2.0 OR MIT.