WSL icon indicating copy to clipboard operation
WSL copied to clipboard

cleanup: use wil::unique_fd in CreateProcessParse

Open benhillis opened this issue 6 months ago • 0 comments

Summary of the Pull Request

This non-functional change switched to using the RAII file descriptor types to make ownership of file descriptors more explicit and to reduce the risk of resource leaks. This also removes the need for explicit initialize / cleanup methods on the struct (can you tell this file used to be written in C?).

benhillis avatar May 29 '25 15:05 benhillis