Use pipes instead of pty