0b9acb24a44e5d282abd1dac3fb50d0bcc92b1b3
Using subprocess.PIPE and Popen.wait() causes the child process to block in case of write (stdout) buffer full. Rewrite the whole function to use simple a simple fd via mkstemp(). This way, even if the env variable is very long, the process won't hang. This issue has been observed in dev-texlive/texlive-latexextra-2012's SRC_URI, which is more than 131k chars long!
Description
No description provided
Languages
Python
98.8%
Shell
0.7%
Makefile
0.4%