redirect the output to host tty