-
Michael Crosby authored
Add a waitgroup to wait for the io.Copy of stdout/err to finish before existing runc. The problem happens more in exec because it is really fast and the pipe has data buffered but not yet read after the process has already exited. Signed-off-by:
Michael Crosby <crosbymichael@gmail.com>
8d0a05b8Michael Crosby authoredAdd a waitgroup to wait for the io.Copy of stdout/err to finish before existing runc. The problem happens more in exec because it is really fast and the pipe has data buffered but not yet read after the process has already exited. Signed-off-by:
Michael Crosby <crosbymichael@gmail.com>
Loading