#10025 add pipe method to ProcessBuilder

add pipe() method to ProcessBuilder + tests