[Process] Fix #8970 : read output once the process is finished, enable pipe tests on Windows