module_common.py
35.5 KB
-
USE subprocess.Popen API correctly. · 21742303
When collecting stdout/stderr *and* feeding data into a Popen instance, communicate() must be used to avoid a known deadlocking scenario when data sizes cross PIPE_BUF (which can be as small as 512, although should be much larger in practice on linux).
Brian Harring committed