pub fn closing_stdin_ends_process(&self) -> bool {
        // Processes spawned hooked up to ConPTY on Windows will immediately exit
        // if their stdin is closed. We avoid closing stdin in this case.
        cfg!(windows) && self.use_pty
    }
Returns whether or not closing a child's stdin will result in it
immediately exiting.
crates/turborepo-process/src/lib.rs