fix ProcessPipes
bug #10199 fix ProcessPipes (nicolas-grekas)

This PR was merged into the 2.5-dev branch.

Discussion
----------

fix ProcessPipes

Commits
-------

076d417 fix ProcessPipes