Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
std.process.Child: prevent racing children from inheriting one anothe…
…r's pipes The added comment explains the issue here relatively well. The new progress API made this bug obvious because it became visibly clear that certain Compile steps were seemingly "hanging" until other steps completed. As it turned out, these child processes had raced to spawn, and hence one had inherited the other's stdio pipes, meaning the `poll` call in `std.Build.Step.evalZigProcess` was not identifying the child stdout as closed until an unrelated process terminated.
- Loading branch information