You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The root fix here (spawn CREATE_SUSPENDED, assign to a Job Object, resume via the main thread handle) is blocked upstream: std::process::Child only exposes the main thread handle needed for ResumeThread behind a nightly-only feature, windows_process_extensions_main_thread_handle (rust-lang/rust#96723), open since 2022. Someone hit this exact use case there as recently as 2026-06-28.
Building around that gap would mean abandoning std::process::Command/Child on Windows entirely and hand-rolling CreateProcessW, which is a much bigger maintenance surface than this crate should take on for one platform's rusage accuracy. Leaving this open, tracking rust-lang/rust#96723 — worth revisiting once that stabilizes.
Activity
lu-zero commentedon Aug 22, 2026
The root fix here (spawn
CREATE_SUSPENDED, assign to a Job Object, resume via the main thread handle) is blocked upstream:std::process::Childonly exposes the main thread handle needed forResumeThreadbehind a nightly-only feature,windows_process_extensions_main_thread_handle(rust-lang/rust#96723), open since 2022. Someone hit this exact use case there as recently as 2026-06-28.Building around that gap would mean abandoning
std::process::Command/Childon Windows entirely and hand-rollingCreateProcessW, which is a much bigger maintenance surface than this crate should take on for one platform's rusage accuracy. Leaving this open, tracking rust-lang/rust#96723 — worth revisiting once that stabilizes.Update docs for the 0.2.0 API and Windows rusage limitation