image/svg+xml Child Parent stdin stdout stderr w r w r w r Popen pipes Child Parent stdin stdout stderr slave master Pseudoterminal(pty)