Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pigeon] Fix tool hangs on verbose sub-processes (#6198)
The Pigeon tool hangs on Windows if you don't have the Java formatter on your path. Repro examples: ``` dart ./tool/generate.dart ``` ``` dart ./tool/test.dart -f windows_integration_tests ``` The root cause is that the tool runs sub-processes without consuming their stdout/stderr output. The sub-process blocks if these pipes get full. See: https://api.dart.dev/stable/3.3.0/dart-io/Process-class.html This change is untested. See: #6198 (comment) Needed for #6196 Part of flutter/flutter#144042
- Loading branch information