filter-repo: fix possible deadlock in sanity_check_args
I'm a little surprised that stdout buffers must have filled up on MacOS X, but either way we don't have to wait for the '-h' processes to finish before attempting to read stdout. In fact, since we weren't storing the returncode attribute from calling p.wait(), there wasn't much point in doing so. Trying to read all stdout all at once is going to implicitly take until the process finishes anyway, so just do that. Reported-by: Benoit Lefèvre <contact@benoit-lefevre.org> Signed-off-by: Elijah Newren <newren@gmail.com>pull/101/head
parent
15494bba8a
commit
0375758806
Loading…
Reference in New Issue