cockpit-project/cockpit — pull request #849 by stefwalter (2014-07-04 08:01:42+00:00)
Title: common: Make sure to get all data out of CockpitPipe

When a process exited before all its data had been received,
we would accidentally lose the last bit of data. Wait until the output
has closed before closing the pipe.