Attempting to fix TTY sessions by attaching STDOUT and STDERR.