gitlab-org--gitlab-foss/changelogs/unreleased/sh-fix-stderr-pipe-consumption.yml
Stan Hu fd392cd725 Avoid process deadlock in popen by consuming input pipes
A process that spews a lot of output to stderr or stdout could stall out
due to the pipe buffer being full. As described in https://bugs.ruby-lang.org/issues/9082,
we can use the trick used in Ruby's capture3 function to read the pipes in separate
threads.

Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/6895
2018-07-12 16:21:30 -07:00

5 lines
109 B
YAML

---
title: Avoid process deadlock in popen by consuming input pipes
merge_request: 20600
author:
type: fixed