Rewrite pipe code using subprocess, to make sure the
child process is closed when the test completes.
1 file changed