about summary refs log tree commit diff
path: root/library/std/src/sys/process/windows.rs
AgeCommit message (Collapse)AuthorLines
2025-09-21std: merge definitions of `StdioPipes`joboet-6/+1
All platforms define this structure the same way, so we can just put it in the `process` module directly.
2025-08-09Replace unsafe function with safe alternativeChris Denton-7/+1
The `security_attributes` function is marked as safe despite taking a raw pointer which will later be used. Fortunately this function is only used internally and only in one place that has been basically the same for a decade now. However, we only ever set one bool so it's easy enough to replace with something that's actually safe.
2025-05-14wire up startupinfo methodsFederico Terzi-0/+36
2025-04-28std: get rid of `sys_common::process`joboet-6/+1
Move the public `CommandEnvs` into the `process` module (and make it a wrapper type for an internal iterator type) and everything else into `sys::process` as per #117276.
2025-04-09Avoid verbatim paths in Command::current_dirChris Denton-4/+28
If possible, we should try not to use verbatim paths in Command::current_dir. It might work but it might also break code (including some Windows APIs) that assume the current directory isn't verbatim.
2025-03-22std: move process implementations to `sys`joboet-0/+920
As per #117276, this moves the implementations of `Process` and friends out of the `pal` module and into the `sys` module, removing quite a lot of error-prone `#[path]` imports in the process (hah, get it ;-)). I've also made the `zircon` module a dedicated submodule of `pal::unix`, hopefully we can move some other definitions there as well (they are currently quite a lot of duplications in `sys`). Also, the `ensure_no_nuls` function on Windows now lives in `sys::pal::windows` – it's not specific to processes and shared by the argument implementation.