By default, a child process will inherit open file descriptors from the parent process. This helper provides a cross-platform way of making sure that doesn‘t happen for the given file/io.
[Validate]