# child_process: collectOutputWindows handle broken_pipe from ReadFile · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/53d8a25dab5ddcea16ac70cdcdf28cb3e4944cbb)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 53d8a25dab5ddcea16ac70cdcdf28cb3e4944cbb

Requested commit: 53d8a25dab5ddcea16ac70cdcdf28cb3e4944cbb

Commit: 53d8a25dab5ddcea16ac70cdcdf28cb3e4944cbb

Tree: 15fd1fa33b9657dc8ed2eaa233333c28551b6a31

Author: Jonathan Marler

Committer: Jonathan Marler

## Message

```
child_process: collectOutputWindows handle broken_pipe from ReadFile

This was found on a user's machine when calling "git" as a child process from msys.  Instead of getting BROKEN_PIPE on GetOverlappedREsult, it would occur on ReadFile which would then cause the function to hang because the async operation was never started.

```

## Parents

- [adc9a282d8b3cbe58e07c965fe40fb1dd8666bd7](https://git.cafe/gitcafe/zig/commit/adc9a282d8b3cbe58e07c965fe40fb1dd8666bd7?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/53d8a25dab5ddcea16ac70cdcdf28cb3e4944cbb?format=markdown)
